From f990006587fd01b7d93ec9592aaa8e782c89b385 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Thu, 11 Nov 2010 18:15:56 +1300 Subject: [PATCH] hack around the local player being set in replays --- OpenRA.Game/World.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRA.Game/World.cs b/OpenRA.Game/World.cs index 581d4e1fa2..b0068a4a2b 100644 --- a/OpenRA.Game/World.cs +++ b/OpenRA.Game/World.cs @@ -48,7 +48,8 @@ namespace OpenRA public void SetLocalPlayer(int index) { - localPlayerIndex = index; + if (!(orderManager.Connection is ReplayConnection)) + localPlayerIndex = index; } public readonly Actor WorldActor;