Fix observer tooltips (Bug #769)

This commit is contained in:
Paul Chote
2011-06-21 02:51:50 +12:00
parent e33995d71b
commit ce65127e34
2 changed files with 3 additions and 3 deletions

View File

@@ -164,7 +164,7 @@ namespace OpenRA
orderManager.LastTickTime += Settings.Game.Timestep;
Widget.DoTick();
var world = orderManager.world;
if( orderManager.GameStarted && world.LocalPlayer != null )
if (orderManager.GameStarted)
++Viewport.TicksSinceLastMove;
Sound.Tick();
Sync.CheckSyncUnchanged( world, () => { orderManager.TickImmediate(); } );