Ingame briefing support

This commit is contained in:
Paul Chote
2010-08-16 16:35:50 +12:00
parent 56b0da0b13
commit 38e5f70cbe
3 changed files with 29 additions and 2 deletions

View File

@@ -149,8 +149,13 @@ namespace OpenRA
public event Action<Actor> ActorAdded = _ => { };
public event Action<Actor> ActorRemoved = _ => { };
// Will do bad things in multiplayer games
public bool DisableTick = false;
public void Tick()
{
if (DisableTick)
return;
Timer.Time("----World Tick");
actors.DoTimed( x => x.Tick(), "expensive actor tick: {0} ({1:0.000})", 0.001 );