Fix racing ticks at gamestart
This commit is contained in:
@@ -221,6 +221,7 @@ namespace OpenRA
|
|||||||
Widget.SelectedWidget = null;
|
Widget.SelectedWidget = null;
|
||||||
|
|
||||||
orderManager.LocalFrameNumber = 0;
|
orderManager.LocalFrameNumber = 0;
|
||||||
|
orderManager.LastTickTime = Environment.TickCount;
|
||||||
orderManager.StartGame();
|
orderManager.StartGame();
|
||||||
worldRenderer.RefreshPalette();
|
worldRenderer.RefreshPalette();
|
||||||
AfterGameStart( orderManager.world );
|
AfterGameStart( orderManager.world );
|
||||||
@@ -313,7 +314,6 @@ namespace OpenRA
|
|||||||
public static void LoadShellMap()
|
public static void LoadShellMap()
|
||||||
{
|
{
|
||||||
StartGame(ChooseShellmap());
|
StartGame(ChooseShellmap());
|
||||||
Game.orderManager.LastTickTime = Environment.TickCount;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static string ChooseShellmap()
|
static string ChooseShellmap()
|
||||||
|
|||||||
Reference in New Issue
Block a user