mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Encapsulation of WindowHandler state
This commit is contained in:
@@ -57,7 +57,7 @@ void ApplyOnLobbyHandlerNetPackVisitor::visitLobbyClientDisconnected(LobbyClient
|
||||
|
||||
void ApplyOnLobbyScreenNetPackVisitor::visitLobbyClientDisconnected(LobbyClientDisconnected & pack)
|
||||
{
|
||||
if(GH.windows().listInt.size())
|
||||
if(GH.windows().count() > 0)
|
||||
GH.windows().popInts(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user