diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-11 01:54:37 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-11 01:54:37 +0100 |
commit | 2dba51a6a281573ea40cc52c80d10155387d4720 (patch) | |
tree | d6040ec27d365b0facc18f6f1b761ff5c0b403db /NorthstarDedicatedTest/squirrel.cpp | |
parent | 5644c1aaabb9487ef2a4c3e5110c8a21bf7b6a59 (diff) | |
download | NorthstarLauncher-2dba51a6a281573ea40cc52c80d10155387d4720.tar.gz NorthstarLauncher-2dba51a6a281573ea40cc52c80d10155387d4720.zip |
normalise mod fs paths to be lowercase
Diffstat (limited to 'NorthstarDedicatedTest/squirrel.cpp')
-rw-r--r-- | NorthstarDedicatedTest/squirrel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/squirrel.cpp b/NorthstarDedicatedTest/squirrel.cpp index ea23672a..32092ec9 100644 --- a/NorthstarDedicatedTest/squirrel.cpp +++ b/NorthstarDedicatedTest/squirrel.cpp @@ -143,8 +143,8 @@ template <ScriptContext context> void ScriptCompileErrorHook(void* sqvm, const c .c_str(), cmd_source_t::kCommandSrcCode); - if (realContext == ScriptContext::UI) - Cbuf_AddText(Cbuf_GetCurrentPlayer(), "showconsole", cmd_source_t::kCommandSrcCode); // likely temp: show console so user can see any errors + if (realContext == ScriptContext::UI) // likely temp: show console so user can see any errors + Cbuf_AddText(Cbuf_GetCurrentPlayer(), "showconsole", cmd_source_t::kCommandSrcCode); } // dont call the original function since it kills game lol |