Skip to content

Commit

Permalink
Update LuaEngine
Browse files Browse the repository at this point in the history
Co-Authored-By: Foe <[email protected]>
  • Loading branch information
Niam5 and Foereaper committed Jul 27, 2024
1 parent a6300b5 commit a2cb9ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/LuaEngine
Submodule LuaEngine updated 53 files
+20 −7 .github/workflows/build.yml
+12 −0 .github/workflows/pr-on-label.yml
+1 −1 BindingMap.h
+25 −1 ElunaCompat.cpp
+13 −7 ElunaCompat.h
+47 −6 ElunaConfig.cpp
+6 −0 ElunaConfig.h
+46 −162 ElunaCreatureAI.h
+1 −1 ElunaEventMgr.cpp
+2 −2 ElunaEventMgr.h
+46 −72 ElunaIncludes.h
+4 −4 ElunaInstanceAI.cpp
+8 −11 ElunaInstanceAI.h
+157 −55 ElunaLoader.cpp
+60 −14 ElunaLoader.h
+70 −11 ElunaTemplate.h
+3 −6 ElunaUtility.cpp
+20 −36 ElunaUtility.h
+45 −29 LuaEngine.cpp
+68 −89 LuaEngine.h
+25 −4 LuaFunctions.cpp
+1 −0 LuaValue.cpp
+0 −4 hooks/BattleGroundHooks.cpp
+1 −1 hooks/CreatureHooks.cpp
+1 −3 hooks/GameObjectHooks.cpp
+11 −11 hooks/GossipHooks.cpp
+2 −2 hooks/GuildHooks.cpp
+2 −2 hooks/ItemHooks.cpp
+2 −2 hooks/PacketHooks.cpp
+3 −33 hooks/PlayerHooks.cpp
+8 −45 hooks/ServerHooks.cpp
+2 −4 hooks/VehicleHooks.cpp
+6 −4 lmarshal.cpp
+12 −0 methods/CMangos/CreatureMethods.h
+1 −0 methods/Mangos/CreatureMethods.h
+2 −3 methods/TrinityCore/AuraMethods.h
+0 −4 methods/TrinityCore/BattleGroundMethods.h
+12 −12 methods/TrinityCore/CreatureMethods.h
+26 −8 methods/TrinityCore/ElunaQueryMethods.h
+0 −7 methods/TrinityCore/GameObjectMethods.h
+3 −66 methods/TrinityCore/GlobalMethods.h
+0 −13 methods/TrinityCore/GroupMethods.h
+0 −8 methods/TrinityCore/GuildMethods.h
+1 −107 methods/TrinityCore/ItemMethods.h
+0 −10 methods/TrinityCore/MapMethods.h
+23 −152 methods/TrinityCore/PlayerMethods.h
+0 −4 methods/TrinityCore/QuestMethods.h
+0 −4 methods/TrinityCore/UnitMethods.h
+0 −4 methods/TrinityCore/VehicleMethods.h
+3 −31 methods/TrinityCore/WorldObjectMethods.h
+13 −1 methods/VMangos/CreatureMethods.h
+8 −11 methods/VMangos/GlobalMethods.h
+1 −1 methods/VMangos/PlayerMethods.h
2 changes: 1 addition & 1 deletion src/game/Maps/Map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit a2cb9ae

Please sign in to comment.