Throw bot_camp_timer behind Bots:Enabled rule

This commit is contained in:
nytmyr
2025-01-20 12:09:30 -06:00
parent 744a1d23c0
commit 28fbdc6877
2 changed files with 10 additions and 3 deletions
+6 -1
View File
@@ -4292,8 +4292,13 @@ void Client::Handle_OP_Camp(const EQApplicationPacket *app)
OnDisconnect(true);
return;
}
camp_timer.Start(29000, true);
bot_camp_timer.Start((RuleI(Bots, CampTimer) * 1000), true);
if (RuleB(Bots, Enabled)) {
bot_camp_timer.Start((RuleI(Bots, CampTimer) * 1000), true);
}
return;
}