diff options
author | Jan <sentrycraft123@gmail.com> | 2024-06-16 17:57:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-16 17:57:52 +0200 |
commit | 75bb4143ced983be7d76f154fc0016d17fc92b65 (patch) | |
tree | 1124a9520664f69ae72f1cf5465ffa66b3db06d8 /primedev/mods | |
parent | f75aff142508796ba66cc43c3135cbb317c920db (diff) | |
download | NorthstarLauncher-75bb4143ced983be7d76f154fc0016d17fc92b65.tar.gz NorthstarLauncher-75bb4143ced983be7d76f154fc0016d17fc92b65.zip |
Add default case for SquirrelContext switch (#716)v1.25.1-rc1v1.25.0-rc2v1.25.0
Add default case for SquirrelContext switch and logs errors so we can catch them if they do ever happen.
Diffstat (limited to 'primedev/mods')
-rw-r--r-- | primedev/mods/modmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/primedev/mods/modmanager.cpp b/primedev/mods/modmanager.cpp index 268a65a5..98d4cdc4 100644 --- a/primedev/mods/modmanager.cpp +++ b/primedev/mods/modmanager.cpp @@ -601,6 +601,8 @@ auto ModConCommandCallback(const CCommand& command) case ScriptContext::UI: ModConCommandCallback_Internal<ScriptContext::UI>(found->Function, command); break; + default: + spdlog::error("ModConCommandCallback on invalid Context {}", found->Context); }; } |