Selaa lähdekoodia

Fix compilation

nordsoft 3 vuotta sitten
vanhempi
sitoutus
b888e640f3
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      client/CServerHandler.cpp

+ 2 - 2
client/CServerHandler.cpp

@@ -577,8 +577,8 @@ void CServerHandler::endGameplay(bool closeConnection, bool restart)
 		}
 	}
 	
-	serverConnection->enterLobbyConnectionMode();
-	serverConnection->disableStackSendingByID();
+	c->enterLobbyConnectionMode();
+	c->disableStackSendingByID();
 }
 
 void CServerHandler::startCampaignScenario(std::shared_ptr<CCampaignState> cs)