add bot camp timer to prevent /camp exploits

This commit is contained in:
nytmyr
2024-11-13 10:10:47 -06:00
parent abefd1ccce
commit ab446138a3
5 changed files with 10 additions and 0 deletions
+4
View File
@@ -193,6 +193,10 @@ bool Client::Process() {
return false; //delete client
}
if (bot_camp_timer.Check()) {
Bot::BotOrderCampAll(this);
}
if (camp_timer.Check()) {
Raid *myraid = entity_list.GetRaidByClient(this);
if (myraid) {