Rename Stance to PlayerRelationship
This commit is contained in:
@@ -65,7 +65,7 @@ namespace OpenRA.Mods.Common
|
||||
|
||||
public static List<Actor> FindEnemiesByCommonName(HashSet<string> commonNames, Player player)
|
||||
{
|
||||
return player.World.Actors.Where(a => !a.IsDead && player.Stances[a.Owner] == Stance.Enemy &&
|
||||
return player.World.Actors.Where(a => !a.IsDead && player.Stances[a.Owner] == PlayerRelationship.Enemy &&
|
||||
commonNames.Contains(a.Info.Name)).ToList();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user