diff options
Diffstat (limited to 'NorthstarDLL/scripts/scriptutility.cpp')
-rw-r--r-- | NorthstarDLL/scripts/scriptutility.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDLL/scripts/scriptutility.cpp b/NorthstarDLL/scripts/scriptutility.cpp index 054836ca..4b92fa02 100644 --- a/NorthstarDLL/scripts/scriptutility.cpp +++ b/NorthstarDLL/scripts/scriptutility.cpp @@ -18,9 +18,9 @@ ADD_SQFUNC( ADD_SQFUNC( "string", NSGetLocalPlayerUID, "", "Returns the local player's uid.", ScriptContext::UI | ScriptContext::CLIENT | ScriptContext::SERVER) { - if (R2::g_pLocalPlayerUserID) + if (g_pLocalPlayerUserID) { - g_pSquirrel<context>->pushstring(sqvm, R2::g_pLocalPlayerUserID); + g_pSquirrel<context>->pushstring(sqvm, g_pLocalPlayerUserID); return SQRESULT_NOTNULL; } |