about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authorAlfred Eriksson <somerunce@gmail.com>2009-01-12 14:03:19 +0000
committerAlfred Eriksson <somerunce@gmail.com>2009-01-12 14:03:19 +0000
commit5141ddac4dec0848ccad716d2cd7a7eb2991744a (patch)
treef47d25f008eed649faa700deb30d48785e865531 /src/game/client
parentaedd3426746cdfc1ffaa0d95455ab0a10dc786c1 (diff)
downloadzcatch-5141ddac4dec0848ccad716d2cd7a7eb2991744a.tar.gz
zcatch-5141ddac4dec0848ccad716d2cd7a7eb2991744a.zip
refreshing the server info when loading
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/components/menus.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp
index 29372b62..54c587ef 100644
--- a/src/game/client/components/menus.cpp
+++ b/src/game/client/components/menus.cpp
@@ -981,7 +981,10 @@ void MENUS::on_statechange(int new_state, int old_state)
 				popup = POPUP_DISCONNECTED;
 		}	}
 	else if(new_state == CLIENTSTATE_LOADING)
+	{
 		popup = POPUP_CONNECTING;
+		client_serverinfo_request();
+	}
 	else if(new_state == CLIENTSTATE_CONNECTING)
 		popup = POPUP_CONNECTING;
 	else if (new_state == CLIENTSTATE_ONLINE || new_state == CLIENTSTATE_DEMOPLAYBACK)