Change Game.RunTime to a long to prevent overflow.

This commit is contained in:
RoosterDragon
2016-09-20 19:06:10 +01:00
parent 57ceda3025
commit 2ffea5db54
12 changed files with 25 additions and 20 deletions

View File

@@ -24,8 +24,8 @@ namespace OpenRA.Mods.Common.Server
// TickTimeout is in microseconds
public int TickTimeout { get { return PingInterval * 100; } }
int lastPing = 0;
int lastConnReport = 0;
long lastPing = 0;
long lastConnReport = 0;
bool isInitialPing = true;
public void Tick(S server)