fix: GameEvent Hooks (#44)

This commit is contained in:
Nefertumm
2022-06-15 04:52:03 -03:00
committed by GitHub
parent c8d0fc3bce
commit ea6700d4bf

View File

@@ -367,12 +367,12 @@ class Eluna_GameEventScript : public GameEventScript
public: public:
Eluna_GameEventScript() : GameEventScript("Eluna_GameEventScript") { } Eluna_GameEventScript() : GameEventScript("Eluna_GameEventScript") { }
void OnEventStart(uint16 eventID) void OnStart(uint16 eventID) override
{ {
sEluna->OnGameEventStart(eventID); sEluna->OnGameEventStart(eventID);
} }
void OnEventStop(uint16 eventID) void OnStop(uint16 eventID) override
{ {
sEluna->OnGameEventStop(eventID); sEluna->OnGameEventStop(eventID);
} }