diff --git a/src/game/LuaEngine b/src/game/LuaEngine index fa6587fe97..216e8041e1 160000 --- a/src/game/LuaEngine +++ b/src/game/LuaEngine @@ -1 +1 @@ -Subproject commit fa6587fe9762d0b6d7a4ba5af10a6baefa9152fc +Subproject commit 216e8041e18526aa26089ff4285b3df3b096213c diff --git a/src/game/Maps/Map.cpp b/src/game/Maps/Map.cpp index c0bd1c06af..30d9aa4a83 100644 --- a/src/game/Maps/Map.cpp +++ b/src/game/Maps/Map.cpp @@ -191,7 +191,7 @@ Map::Map(uint32 id, time_t expiry, uint32 InstanceId, uint8 SpawnMode) // lua state begins uninitialized eluna = nullptr; - if (sElunaConfig->IsElunaEnabled() && !sElunaConfig->IsElunaCompatibilityMode() && sElunaLoader->ShouldMapLoadEluna(id)) + if (sElunaConfig->IsElunaEnabled() && !sElunaConfig->IsElunaCompatibilityMode() && sElunaConfig->ShouldMapLoadEluna(id)) eluna = new Eluna(this); if (Eluna* e = GetEluna())