diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-19 03:13:28 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-19 03:13:28 +0000 |
commit | 75b9583a6b66c09596f4c0a25188ba4d99ca34da (patch) | |
tree | 4eef5ac3c28faa511d08be350f6bc028d5ebc290 /NorthstarDedicatedTest/modmanager.cpp | |
parent | 682a00eaac30139929b1bb179ae7f4aa1a038572 (diff) | |
download | NorthstarLauncher-75b9583a6b66c09596f4c0a25188ba4d99ca34da.tar.gz NorthstarLauncher-75b9583a6b66c09596f4c0a25188ba4d99ca34da.zip |
openssl support
Diffstat (limited to 'NorthstarDedicatedTest/modmanager.cpp')
-rw-r--r-- | NorthstarDedicatedTest/modmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/NorthstarDedicatedTest/modmanager.cpp b/NorthstarDedicatedTest/modmanager.cpp index e4af294c..785f92d8 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 = SERVER; + callback.Context = ScriptContex::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 = CLIENT; + callback.Context = ScriptContex::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 = UI; + callback.Context = ScriptContex::UI; if (scriptObj["UICallback"].HasMember("Before") && scriptObj["UICallback"]["Before"].IsString()) callback.BeforeCallback = scriptObj["UICallback"]["Before"].GetString(); |