diff --git a/AI/Nullkiller/AIGateway.cpp b/AI/Nullkiller/AIGateway.cpp index 2e8c398c5..55487417e 100644 --- a/AI/Nullkiller/AIGateway.cpp +++ b/AI/Nullkiller/AIGateway.cpp @@ -1608,6 +1608,7 @@ void AIGateway::requestActionASAP(std::function whatToDo) void AIGateway::lostHero(HeroPtr h) { logAi->debug("I lost my hero %s. It's best to forget and move on.", h.name()); + nullkiller->invalidatePathfinderData(); } void AIGateway::answerQuery(QueryID queryID, int selection)