Skip to content
Permalink
Browse files

Fix CSMs on arm64 (#10553)

  • Loading branch information
luk3yx committed Oct 25, 2020
1 parent 707c8c1 commit 61a196378ff91411af3245504c5861da026b3b25
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/script/cpp_api/s_security.cpp
@@ -629,7 +629,11 @@ int ScriptApiSecurity::sl_g_loadfile(lua_State *L)
{
#ifndef SERVER
lua_rawgeti(L, LUA_REGISTRYINDEX, CUSTOM_RIDX_SCRIPTAPI);
#if INDIRECT_SCRIPTAPI_RIDX
ScriptApiBase *script = (ScriptApiBase *) *(void**)(lua_touserdata(L, -1));
#else
ScriptApiBase *script = (ScriptApiBase *) lua_touserdata(L, -1);
#endif
lua_pop(L, 1);

// Client implementation

0 comments on commit 61a1963

Please sign in to comment.
You can’t perform that action at this time.