fix exploitable SetStance order

This commit is contained in:
Chris Forbes
2011-01-30 17:33:04 +13:00
parent 79a46272ac
commit 7a4380e7bd

View File

@@ -148,6 +148,9 @@ namespace OpenRA.Network
case "SetStance":
{
if (Game.orderManager.LobbyInfo.GlobalSettings.LockTeams)
return;
var targetPlayer = order.Player.World.players[order.TargetLocation.X];
var newStance = (Stance)order.TargetLocation.Y;