mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 05:37:17 +00:00
Fixed an issue where Mercenaries were causing several DB queries per second while suspended.
This commit is contained in:
1 parent
5266d7b25c
commit
966acb25b3
3 files changed
+7
-8
No files matched your search
@@ -233,10 +233,7 @@ bool Client::Process() {
|
||||
|
||||
if(GetMercInfo().MercTemplateID != 0 && GetMercInfo().IsSuspended)
|
||||
{
|
||||
if(p_timers.Expired(&database, pTimerMercSuspend, false))
|
||||
{
|
||||
CheckMercSuspendTimer();
|
||||
}
|
||||
CheckMercSuspendTimer();
|
||||
}
|
||||
|
||||
if(IsAIControlled())
|
||||
|
||||
Reference in new issue
Block a user