diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-29 02:57:31 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-07-29 02:57:31 +0100 |
commit | 30e67549449a0ffbb58f7fc736bdd9e4ce7ec9d5 (patch) | |
tree | f6a53098ce2489829f8428ea1714d666cc6901ef /NorthstarDedicatedTest/dllmain.cpp | |
parent | a5a937d19fcb51fe4168345d09596784e174726e (diff) | |
download | NorthstarLauncher-30e67549449a0ffbb58f7fc736bdd9e4ce7ec9d5.tar.gz NorthstarLauncher-30e67549449a0ffbb58f7fc736bdd9e4ce7ec9d5.zip |
add script api for mods and add temp fix for scripts.rson not loading right
Diffstat (limited to 'NorthstarDedicatedTest/dllmain.cpp')
-rw-r--r-- | NorthstarDedicatedTest/dllmain.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/dllmain.cpp b/NorthstarDedicatedTest/dllmain.cpp index cc40a00c..b0040598 100644 --- a/NorthstarDedicatedTest/dllmain.cpp +++ b/NorthstarDedicatedTest/dllmain.cpp @@ -9,7 +9,7 @@ #include "modmanager.h" #include "filesystem.h" #include "serverauthentication.h" -#include <iostream> +#include "scriptmodmenu.h" bool initialised = false; @@ -53,7 +53,9 @@ void InitialiseNorthstar() if (!IsDedicated()) { AddDllLoadCallback("client.dll", InitialiseClientSquirrel); + AddDllLoadCallback("client.dll", InitialiseSourceConsole); + AddDllLoadCallback("client.dll", InitialiseScriptModMenu); } AddDllLoadCallback("server.dll", InitialiseServerSquirrel); |