diff --git a/code/components/citizen-scripting-lua/src/LuaScriptNatives.cpp b/code/components/citizen-scripting-lua/src/LuaScriptNatives.cpp index e0c8ef3472..c1939b7fee 100644 --- a/code/components/citizen-scripting-lua/src/LuaScriptNatives.cpp +++ b/code/components/citizen-scripting-lua/src/LuaScriptNatives.cpp @@ -1299,7 +1299,7 @@ struct LuaNativeContext : public fxNativeContext { LUA_INLINE LuaNativeContext(void*, int numArguments) { - numArguments = numArguments; + this->numArguments = numArguments; numResults = 0; }