Browse Source

fix hangs after a siege battle

kdmcser 5 months ago
parent
commit
50887a4f30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/mapObjects/CGTownInstance.cpp

+ 1 - 1
lib/mapObjects/CGTownInstance.cpp

@@ -644,7 +644,7 @@ void CGTownInstance::clearArmy() const
 {
 	while(!stacks.empty())
 	{
-		cb->eraseStack(StackLocation(id, stacks.begin()->first));
+		cb->eraseStack(StackLocation(id, stacks.begin()->first), true);
 	}
 }