don't load data from host module

closes #21, nice copy and paste skull
This commit is contained in:
m 2022-03-08 06:23:31 -06:00
parent b1dcc4230d
commit 9f909770e6
2 changed files with 0 additions and 4 deletions

View File

@ -4,7 +4,6 @@
#include "../execution.hpp" #include "../execution.hpp"
#include "../../../component/logfile.hpp" #include "../../../component/logfile.hpp"
#include "../../../component/game_module.hpp"
#include <utils/io.hpp> #include <utils/io.hpp>
@ -52,7 +51,6 @@ namespace scripting::lua::engine
} }
stop(); stop();
load_scripts(game_module::get_host_module().get_folder() + "/data/scripts/");
load_scripts("h1-mod/scripts/"); load_scripts("h1-mod/scripts/");
load_scripts("data/scripts/"); load_scripts("data/scripts/");
} }

View File

@ -3,7 +3,6 @@
#include "context.hpp" #include "context.hpp"
#include "../../../component/ui_scripting.hpp" #include "../../../component/ui_scripting.hpp"
#include "../../../component/game_module.hpp"
#include <utils/io.hpp> #include <utils/io.hpp>
@ -52,7 +51,6 @@ namespace ui_scripting::lua::engine
load_code(lui_common); load_code(lui_common);
load_code(lui_updater); load_code(lui_updater);
load_scripts(game_module::get_host_module().get_folder() + "/data/ui_scripts/");
load_scripts("h1-mod/ui_scripts/"); load_scripts("h1-mod/ui_scripts/");
load_scripts("data/ui_scripts/"); load_scripts("data/ui_scripts/");
} }