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:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user