Disconnect client when server changes the map and the client is in a slot that is no longer a network slot.

This commit is contained in:
Mark Vejvoda
2010-04-23 00:14:22 +00:00
parent edd3b66273
commit 4869b68b7a

View File

@@ -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)
{