1
0
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:
Ivan Savenko
2023-05-16 16:07:03 +03:00
parent 7838190ef4
commit 051a4a3c17
10 changed files with 132 additions and 123 deletions

View File

@@ -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);
}