mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2026-01-06 01:00:04 +00:00
Automatically flush gruntwork after /path end
This commit is contained in:
@@ -1132,8 +1132,10 @@ static void pathCommand(std::string full, std::vector<std::string>& args, CNSock
|
|||||||
// unmap
|
// unmap
|
||||||
TableData::RunningNPCPaths.erase(plr->iID);
|
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");
|
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;
|
goto update;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user