hack around the local player being set in replays

This commit is contained in:
Chris Forbes
2010-11-11 18:15:56 +13:00
parent 0b7bee480c
commit f990006587

View File

@@ -48,6 +48,7 @@ namespace OpenRA
public void SetLocalPlayer(int index) public void SetLocalPlayer(int index)
{ {
if (!(orderManager.Connection is ReplayConnection))
localPlayerIndex = index; localPlayerIndex = index;
} }