diff options
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.cpp b/src/command.cpp index 273e22bd0..4dbf664df 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -370,7 +370,7 @@ bool IsCommandAllowedWhilePaused(uint32 cmd) assert_compile(lengthof(command_type_lookup) == CMDT_END); assert(IsValidCommand(cmd)); - return command_type_lookup[_command_proc_table[cmd & CMD_ID_MASK].type] <= _settings_game.construction.command_pause_level; + return _game_mode == GM_EDITOR || command_type_lookup[_command_proc_table[cmd & CMD_ID_MASK].type] <= _settings_game.construction.command_pause_level; } |