new PauseState to differentiate game and editor pausing

This commit is contained in:
Matthias Mailänder
2014-07-03 20:47:51 +02:00
parent d580ca6417
commit d1e18cad7a
8 changed files with 19 additions and 18 deletions

View File

@@ -18,7 +18,7 @@ namespace OpenRA.Traits
public class DebugPauseState : ISync
{
World world;
[Sync] public bool Paused { get { return world.Paused; } }
[Sync] public bool Paused { get { return world.Paused == World.PauseState.Paused; } }
public DebugPauseState(World world) { this.world = world; }
}
}