diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-09 16:42:33 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-09 16:42:33 +0100 |
commit | 5a58dd1c05e943d6b440bea5b4a6ae80ce16841e (patch) | |
tree | 9ea18142c2e2885b990671c04db4786aa05f86f3 /NorthstarDedicatedTest/scriptservertoclientstringcommand.cpp | |
parent | 77a1195d77034c00959dfd030e2eb7a57d58a88d (diff) | |
download | NorthstarLauncher-5a58dd1c05e943d6b440bea5b4a6ae80ce16841e.tar.gz NorthstarLauncher-5a58dd1c05e943d6b440bea5b4a6ae80ce16841e.zip |
refactor some squirrel stuff and ingame compilation error message
Diffstat (limited to 'NorthstarDedicatedTest/scriptservertoclientstringcommand.cpp')
-rw-r--r-- | NorthstarDedicatedTest/scriptservertoclientstringcommand.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/NorthstarDedicatedTest/scriptservertoclientstringcommand.cpp b/NorthstarDedicatedTest/scriptservertoclientstringcommand.cpp index b73932ed..79dde3e4 100644 --- a/NorthstarDedicatedTest/scriptservertoclientstringcommand.cpp +++ b/NorthstarDedicatedTest/scriptservertoclientstringcommand.cpp @@ -7,11 +7,11 @@ void ConCommand_ns_script_servertoclientstringcommand(const CCommand& arg) { - if (g_ClientSquirrelManager->sqvm && - g_ClientSquirrelManager->setupfunc("NSClientCodeCallback_RecievedServerToClientStringCommand") != SQRESULT_ERROR) + if (g_pClientSquirrel->sqvm && + g_pClientSquirrel->setupfunc("NSClientCodeCallback_RecievedServerToClientStringCommand") != SQRESULT_ERROR) { - g_ClientSquirrelManager->pusharg(arg.ArgS()); - g_ClientSquirrelManager->call(1); // todo: doesn't throw or log errors from within this, probably not great behaviour + g_pClientSquirrel->pusharg(arg.ArgS()); + g_pClientSquirrel->call(1); // todo: doesn't throw or log errors from within this, probably not great behaviour } } |