mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #4549: Allow maze to be built in pause mode if build-while-paused-cheat is enabled
This commit is contained in:
parent
a8a4c0deb4
commit
7b9bfd6529
|
@ -1516,7 +1516,7 @@ static money32 place_maze_design(uint8 flags, uint8 rideIndex, uint16 mazeEntry,
|
|||
}
|
||||
|
||||
if (!(flags & GAME_COMMAND_FLAG_ALLOW_DURING_PAUSED)) {
|
||||
if (game_is_paused()) {
|
||||
if (game_is_paused() && !gCheatsBuildInPauseMode) {
|
||||
gGameCommandErrorText = STR_CONSTRUCTION_NOT_POSSIBLE_WHILE_GAME_IS_PAUSED;
|
||||
return MONEY32_UNDEFINED;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue