don't pass world to Widget.Tick, either

This commit is contained in:
Bob
2010-10-11 20:21:15 +13:00
parent e0afc08e5f
commit 0873741983
9 changed files with 16 additions and 17 deletions

View File

@@ -112,7 +112,7 @@ namespace OpenRA
using (new PerfSample("tick_time"))
{
lastTime += Settings.Game.Timestep;
Widget.DoTick(world);
Widget.DoTick();
if( world.GameHasStarted && world.LocalPlayer != null )
++Viewport.TicksSinceLastMove;
Sound.Tick();