Default LocalClientId in ReplayConnection to -1

We do not have a local client in replays.
This change prevents anything from accidentally using (sometimes there might be clients with ID 0 present).
This commit is contained in:
abcdefg30
2019-11-24 21:36:23 +01:00
committed by reaperrr
parent 0db4085950
commit a28992aa38

View File

@@ -30,7 +30,7 @@ namespace OpenRA.Network
int ordersFrame;
Dictionary<int, int> lastClientsFrame = new Dictionary<int, int>();
public int LocalClientId { get { return 0; } }
public int LocalClientId { get { return -1; } }
public ConnectionState ConnectionState { get { return ConnectionState.Connected; } }
public readonly int TickCount;
public readonly int FinalGameTick;