diff --git a/src/creatures/monsters/monster.cpp b/src/creatures/monsters/monster.cpp index d59526af9cd..941aa9f13dc 100644 --- a/src/creatures/monsters/monster.cpp +++ b/src/creatures/monsters/monster.cpp @@ -355,7 +355,9 @@ void Monster::onRemoveCreature(const std::shared_ptr &creature, bool i setIdle(true); } else { - onCreatureLeave(creature); + addAsyncTask([this, creature] { + onCreatureLeave(creature); + }); } }