Clean-up Eluna lock macro.

This commit is contained in:
Patman64
2015-01-05 22:52:46 -05:00
parent e2f81b7336
commit 15f161fa1e
3 changed files with 155 additions and 155 deletions

View File

@@ -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);