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

@@ -41,7 +41,7 @@ namespace OpenRA.Mods.Cnc.Widgets.Logic
public void OptionsClicked()
{
var cachedPause = world.PredictedPaused;
var cachedPause = world.PredictedPaused == World.PauseState.Paused;
ingameRoot.IsVisible = () => false;
if (world.LobbyInfo.IsSinglePlayer)