Missed hook

As we can see WorldScript struct haven’t OnWorldUpdate only OnUpdate which has outdated.

[CODE]diff --git a/src/server/game/Scripting/ScriptMgr.h b/src/server/game/Scripting/ScriptMgr.h

— a/src/server/game/Scripting/ScriptMgr.h

+++ b/src/server/game/Scripting/ScriptMgr.h

@@ -261,7 +261,7 @@

     virtual void OnShutdownCancel() { }

     // Called on every world tick (don't execute too heavy code here).
  •    virtual void OnUpdate(void* /*null*/, uint32 /*diff*/) { }
  •    virtual void OnWorldUpdate(uint32 /*diff*/) { }
       // Called when the world is started.
       virtual void OnStartup() { }


Best regards.

— Canned message start —

This thread does not belong in this section in its current form, and should be reposted in the tracker.

Please read this thread to make your future help requests more effective.

— Canned message end —