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

@@ -22,7 +22,7 @@ namespace OpenRA.Widgets
{
public static Widget Root = new RootWidget();
public static int LastTickTime = Game.RunTime;
public static long LastTickTime = Game.RunTime;
static readonly Stack<Widget> WindowList = new Stack<Widget>();