1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Moved input handling from GuiHandler to set of classes in eventsSDL dir

This commit is contained in:
Ivan Savenko
2023-05-18 20:32:29 +03:00
parent 5bd044521a
commit 5e86b00dda
27 changed files with 968 additions and 600 deletions

View File

@@ -843,7 +843,7 @@ void CServerHandler::threadHandleConnection()
if(client)
{
state = EClientState::DISCONNECTING;
CGuiHandler::pushUserEvent(EUserEvent::RETURN_TO_MAIN_MENU);
GH.pushUserEvent(EUserEvent::RETURN_TO_MAIN_MENU);
}
else
{