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

Merge pull request #4741 from IvanSavenko/serialize_local_state

Serialize local state of player interface
This commit is contained in:
Ivan Savenko
2024-10-10 15:03:14 +03:00
committed by GitHub
17 changed files with 250 additions and 39 deletions

View File

@@ -4013,6 +4013,9 @@ bool CGameHandler::isBlockedByQueries(const CPackForServer *pack, PlayerColor pl
if (dynamic_cast<const PlayerMessage *>(pack) != nullptr)
return false;
if (dynamic_cast<const SaveLocalState *>(pack) != nullptr)
return false;
auto query = queries->topQuery(player);
if (query && query->blocksPack(pack))
{