Automatically flush gruntwork after /path end

This commit is contained in:
gsemaj 2021-05-04 20:43:44 -04:00 committed by Gent Semaj
parent f71d2581bd
commit e508a06eca

View File

@ -1132,8 +1132,10 @@ static void pathCommand(std::string full, std::vector<std::string>& args, CNSock
// unmap
TableData::RunningNPCPaths.erase(plr->iID);
Chat::sendServerMessage(sock, "[PATH] Path saved to gruntwork");
Chat::sendServerMessage(sock, "[PATH] NPC " + std::to_string(npc->appearanceData.iNPC_ID) + " is no longer following you");
TableData::flush();
Chat::sendServerMessage(sock, "[PATH] Path saved to gruntwork");
goto update;
}