diff --git a/src/game/LuaEngine b/src/game/LuaEngine index 11f42ba2f0..216e8041e1 160000 --- a/src/game/LuaEngine +++ b/src/game/LuaEngine @@ -1 +1 @@ -Subproject commit 11f42ba2f0ff4789bd877eeee15dd4d4b7e57838 +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())