mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Clean-up Eluna lock macro.
This commit is contained in:
@@ -26,7 +26,7 @@ LuaEvent::~LuaEvent()
|
||||
|
||||
void LuaEvent::Execute()
|
||||
{
|
||||
ELUNA_LOCK(*events->E);
|
||||
LOCK_ELUNA;
|
||||
// In multithread get map from object and the map's lua state
|
||||
lua_rawgeti((*events->E)->L, LUA_REGISTRYINDEX, funcRef);
|
||||
Eluna::Push((*events->E)->L, funcRef);
|
||||
|
||||
Reference in New Issue
Block a user