aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/modmanager.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-20 21:18:55 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-20 21:18:55 +0000
commite2c028702096367c6d10f3659d4c11f598829e2c (patch)
tree5c552595b812ce2d6f2a412ee4cea5791bde95ef /NorthstarDedicatedTest/modmanager.cpp
parent6cacfd312ad4f433fa5acd3e1dc6383ca5685211 (diff)
downloadNorthstarLauncher-e2c028702096367c6d10f3659d4c11f598829e2c.tar.gz
NorthstarLauncher-e2c028702096367c6d10f3659d4c11f598829e2c.zip
auth fix and typo fix
Diffstat (limited to 'NorthstarDedicatedTest/modmanager.cpp')
-rw-r--r--NorthstarDedicatedTest/modmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/NorthstarDedicatedTest/modmanager.cpp b/NorthstarDedicatedTest/modmanager.cpp
index 785f92d8..4f4a2da0 100644
--- a/NorthstarDedicatedTest/modmanager.cpp
+++ b/NorthstarDedicatedTest/modmanager.cpp
@@ -125,7 +125,7 @@ Mod::Mod(fs::path modDir, char* jsonBuf)
if (scriptObj.HasMember("ServerCallback") && scriptObj["ServerCallback"].IsObject())
{
ModScriptCallback callback;
- callback.Context = ScriptContex::SERVER;
+ callback.Context = ScriptContext::SERVER;
if (scriptObj["ServerCallback"].HasMember("Before") && scriptObj["ServerCallback"]["Before"].IsString())
callback.BeforeCallback = scriptObj["ServerCallback"]["Before"].GetString();
@@ -139,7 +139,7 @@ Mod::Mod(fs::path modDir, char* jsonBuf)
if (scriptObj.HasMember("ClientCallback") && scriptObj["ClientCallback"].IsObject())
{
ModScriptCallback callback;
- callback.Context = ScriptContex::CLIENT;
+ callback.Context = ScriptContext::CLIENT;
if (scriptObj["ClientCallback"].HasMember("Before") && scriptObj["ClientCallback"]["Before"].IsString())
callback.BeforeCallback = scriptObj["ClientCallback"]["Before"].GetString();
@@ -153,7 +153,7 @@ Mod::Mod(fs::path modDir, char* jsonBuf)
if (scriptObj.HasMember("UICallback") && scriptObj["UICallback"].IsObject())
{
ModScriptCallback callback;
- callback.Context = ScriptContex::UI;
+ callback.Context = ScriptContext::UI;
if (scriptObj["UICallback"].HasMember("Before") && scriptObj["UICallback"]["Before"].IsString())
callback.BeforeCallback = scriptObj["UICallback"]["Before"].GetString();