mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Better handling of AI shutdown
This commit is contained in:
@@ -882,7 +882,7 @@ void ApplyClientNetPackVisitor::visitEndAction(EndAction & pack)
|
||||
void ApplyClientNetPackVisitor::visitPackageApplied(PackageApplied & pack)
|
||||
{
|
||||
callInterfaceIfPresent(cl, pack.player, &IGameEventsReceiver::requestRealized, &pack);
|
||||
if(!CClient::waitingRequest.tryRemovingElement(pack.requestID))
|
||||
if(!cl.waitingRequest.tryRemovingElement(pack.requestID))
|
||||
logNetwork->warn("Surprising server message! PackageApplied for unknown requestID!");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user