Remove fragile alliances feature.

This commit is contained in:
Paul Chote
2016-01-30 18:12:35 +00:00
parent aa491a35c8
commit 73b3f20921
21 changed files with 11 additions and 374 deletions

View File

@@ -24,13 +24,5 @@ namespace OpenRA.Mods.Common.Scripting
{
return Player.IsAlliedWith(targetPlayer);
}
[Desc("Changes the current stance of the player against the target player. " +
"Allowed keywords for new stance: Ally, Neutral, Enemy.")]
public void SetStance(Player targetPlayer, string newStance)
{
var emergingStance = Enum<Stance>.Parse(newStance);
Player.SetStance(targetPlayer, emergingStance);
}
}
}