diff --git a/src/ElunaLuaEngine_SC.cpp b/src/ElunaLuaEngine_SC.cpp index 0d5ac75..868b246 100644 --- a/src/ElunaLuaEngine_SC.cpp +++ b/src/ElunaLuaEngine_SC.cpp @@ -904,6 +904,10 @@ public: void OnShutdown() override { sEluna->OnShutdown(); + } + + void OnAfterUnloadAllMaps() override + { Eluna::Uninitialize(); }