aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/game/AI/SmartScripts/SmartScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp
index 5fc9c1e49f7..8edd17ca2ba 100644
--- a/src/server/game/AI/SmartScripts/SmartScript.cpp
+++ b/src/server/game/AI/SmartScripts/SmartScript.cpp
@@ -2020,8 +2020,8 @@ void SmartScript::ProcessTimedAction(SmartScriptHolder& e, uint32 const& min, ui
// We may want to execute action rarely and because of this if condition is not fulfilled the action will be rechecked in a long time
if (sConditionMgr->IsObjectMeetingSmartEventConditions(e.entryOrGuid, e.event_id, e.source_type, unit, GetBaseObject()))
{
- ProcessAction(e, unit, var0, var1, bvar, spell, gob);
RecalcTimer(e, min, max);
+ ProcessAction(e, unit, var0, var1, bvar, spell, gob);
}
else
RecalcTimer(e, std::min<uint32>(min, 5000), std::min<uint32>(min, 5000));