mirror of
https://github.com/R2Northstar/NorthstarLauncher
synced 2026-08-23 20:26:04 -04:00
Add default case for SquirrelContext switch (#716)
Add default case for SquirrelContext switch and logs errors so we can catch them if they do ever happen.
This commit is contained in:
parent
f75aff1425
commit
75bb4143ce
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue