aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/modmanager.cpp
diff options
context:
space:
mode:
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();