summaryrefslogtreecommitdiff
path: root/src/screen
diff options
context:
space:
mode:
authorDusan Durech <dusan@debian.(none)>2009-12-21 23:58:47 +0100
committerDusan Durech <dusan@debian.(none)>2009-12-21 23:58:47 +0100
commit5e926d3e7586d764eeaedf6f3951d5598cf553b5 (patch)
treed8bbbbabdd3b0f1376ed8acb8e36d86b6382246f /src/screen
parent181fb94ba34cbc48a6c53866532dda179ec047c2 (diff)
fix bud with crash in net mutiplayer in screen analyze and push ENTER
Diffstat (limited to 'src/screen')
-rw-r--r--src/screen/world.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen/world.c b/src/screen/world.c
index a37da1b..022a30d 100644
--- a/src/screen/world.c
+++ b/src/screen/world.c
@@ -440,8 +440,6 @@ void stoptWorld()
hot_key_unregister(SDLK_ESCAPE);
arena_quit();
- net_multiplayer_quit();
-
if (arena != NULL) {
arena_destroy(arena);
}
@@ -470,6 +468,8 @@ void stoptWorld()
module_quit();
chat_quit();
id_quit_list();
+
+ net_multiplayer_quit();
}
void world_init()