diff options
-rw-r--r-- | src/misc_cmd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/misc_cmd.cpp b/src/misc_cmd.cpp index 1f6ee839a..ff16c9272 100644 --- a/src/misc_cmd.cpp +++ b/src/misc_cmd.cpp @@ -125,7 +125,9 @@ CommandCost CmdDecreaseLoan(TileIndex tile, DoCommandFlag flags, uint32 p1, uint */ static void AskUnsafeUnpauseCallback(Window *w, bool confirmed) { - DoCommandP(0, PM_PAUSED_ERROR, confirmed ? 0 : 1, CMD_PAUSE); + if (confirmed) { + DoCommandP(0, PM_PAUSED_ERROR, 0, CMD_PAUSE); + } } /** |