aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/squirrel/squirrel.cpp
diff options
context:
space:
mode:
authorErlite <ys.aameziane@gmail.com>2022-12-26 15:51:53 +0100
committerGitHub <noreply@github.com>2022-12-26 15:51:53 +0100
commita4aab8da64eded240867fbe51d272aa44a180a26 (patch)
tree6aa0cd7655ed036ff1dad4a7dc5186b70a96d507 /NorthstarDLL/squirrel/squirrel.cpp
parenta3284252b9d6760935cde23f64ca95a3bc4140c7 (diff)
downloadNorthstarLauncher-a4aab8da64eded240867fbe51d272aa44a180a26.tar.gz
NorthstarLauncher-a4aab8da64eded240867fbe51d272aa44a180a26.zip
Add missing breaks to AsyncCall_External() (#382)
Diffstat (limited to 'NorthstarDLL/squirrel/squirrel.cpp')
-rw-r--r--NorthstarDLL/squirrel/squirrel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/NorthstarDLL/squirrel/squirrel.cpp b/NorthstarDLL/squirrel/squirrel.cpp
index 58f79e00..8dd93ed0 100644
--- a/NorthstarDLL/squirrel/squirrel.cpp
+++ b/NorthstarDLL/squirrel/squirrel.cpp
@@ -164,10 +164,13 @@ void AsyncCall_External(ScriptContext context, const char* func_name, SquirrelMe
{
case ScriptContext::CLIENT:
g_pSquirrel<ScriptContext::CLIENT>->messageBuffer->push(message);
+ break;
case ScriptContext::SERVER:
g_pSquirrel<ScriptContext::SERVER>->messageBuffer->push(message);
+ break;
case ScriptContext::UI:
g_pSquirrel<ScriptContext::UI>->messageBuffer->push(message);
+ break;
}
}