From 4869b68b7a1447f064dafab1f4ebec7a65e4b7ca Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Fri, 23 Apr 2010 00:14:22 +0000 Subject: [PATCH] Disconnect client when server changes the map and the client is in a slot that is no longer a network slot. --- source/glest_game/menu/menu_state_custom_game.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/glest_game/menu/menu_state_custom_game.cpp b/source/glest_game/menu/menu_state_custom_game.cpp index bdbb7c49a..83d5ef7cb 100644 --- a/source/glest_game/menu/menu_state_custom_game.cpp +++ b/source/glest_game/menu/menu_state_custom_game.cpp @@ -251,6 +251,7 @@ void MenuStateCustomGame::mouseClick(int x, int y, MouseButton mouseButton){ loadMapInfo(Map::getMapPath(mapFiles[listBoxMap.getSelectedItemIndex()]), &mapInfo); labelMapInfo.setText(mapInfo.desc); updateControlers(); + updateNetworkSlots(); if(hasNetworkGameSettings() == true) {