Skip to content

Commit 020556d

Browse files
Synchronize changes from 1.6 master branch [ci skip]
b99cb95 Revert "Fix `sourceResourceRoot` for client-sided events (#4021)" due to feedback about backwards compatibility.
2 parents 3a01c9c + b99cb95 commit 020556d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Client/mods/deathmatch/logic/CMapEventManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ bool CMapEventManager::Call(const char* szName, const CLuaArguments& Arguments,
222222
lua_pushresource(pState, pSourceResource);
223223
lua_setglobal(pState, "sourceResource");
224224

225-
lua_pushelement(pState, pSourceResource->GetResourceEntity());
225+
lua_pushelement(pState, pSourceResource->GetResourceDynamicEntity());
226226
lua_setglobal(pState, "sourceResourceRoot");
227227
}
228228
else
@@ -400,4 +400,4 @@ void CMapEventManager::GetHandles(CLuaMain* pLuaMain, const char* szName, lua_St
400400
}
401401
}
402402
}
403-
}
403+
}

0 commit comments

Comments
 (0)