From a2cb9ae241a3a75bfabe32dde5e294df278b837d Mon Sep 17 00:00:00 2001 From: Niam5 Date: Mon, 15 Jul 2024 21:07:09 -0700 Subject: [PATCH] Update LuaEngine Co-Authored-By: Foe --- src/game/LuaEngine | 2 +- src/game/Maps/Map.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/LuaEngine b/src/game/LuaEngine index 11f42ba2f0f..216e8041e18 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 c0bd1c06afe..30d9aa4a837 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())