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,7 +48,8 @@ namespace OpenRA
public void SetLocalPlayer(int index)
{
localPlayerIndex = index;
if (!(orderManager.Connection is ReplayConnection))
localPlayerIndex = index;
}
public readonly Actor WorldActor;