Move Game.Timestep to Widget

Game.Timestep wasn't used for anything other than
UI anymore anyway, moving it makes this more clear.
This commit is contained in:
reaperrr
2021-03-28 21:51:42 +02:00
committed by Paul Chote
parent 6b93f955a4
commit 40aafe586d
3 changed files with 9 additions and 7 deletions

View File

@@ -20,6 +20,8 @@ namespace OpenRA.Widgets
{
public static class Ui
{
public const int Timestep = 40;
public static Widget Root = new ContainerWidget();
public static long LastTickTime = Game.RunTime;