summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsignde <signde@openttd.org>2004-09-15 11:53:01 +0000
committersignde <signde@openttd.org>2004-09-15 11:53:01 +0000
commitf15c85d508330ab7ecc09a81d22d807db021881c (patch)
tree628e3df8b4e2b49974a4929ccbf00de54e803674
parent39f1c6dda3b28d46196fead38de119f7023ef460 (diff)
downloadopenttd-f15c85d508330ab7ecc09a81d22d807db021881c.tar.xz
(svn r263) -Fix: on_server.scr contained an unneeded ";"
-Fix: saving or loading a map doesnt pauses the game anymore
-rw-r--r--misc_gui.c4
-rw-r--r--scripts/on_server.scr2
2 files changed, 1 insertions, 5 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 3121e9e77..a0b5e1eac 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -1116,7 +1116,6 @@ static void SaveLoadDlgWndProc(Window *w, WindowEvent *e)
}
break;
case WE_DESTROY:
- DoCommandP(0, 0, 0, NULL, CMD_PAUSE);
_query_string_active = false;
FiosFreeSavegameList();
break;
@@ -1190,9 +1189,6 @@ void ShowSaveLoadDialog(int mode)
strcpy(_edit_str_buf, "UNNAMED");
}
- if (_game_mode != GM_MENU)
- DoCommandP(0, 1, 0, NULL, CMD_PAUSE);
-
BuildFileList();
ResetObjectToPlace();
diff --git a/scripts/on_server.scr b/scripts/on_server.scr
index 930ee6e46..77d67580d 100644
--- a/scripts/on_server.scr
+++ b/scripts/on_server.scr
@@ -1,3 +1,3 @@
echo "Setting default network server settings..."
*net_sync_freq = 4
-*net_client_timeout = 300; \ No newline at end of file
+*net_client_timeout = 300 \ No newline at end of file