Change folder name for lua based scripts (#503)

This commit is contained in:
DoktorSAS 2022-11-01 11:40:37 +01:00 committed by GitHub
parent d22fdba3f4
commit 734c224291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,9 +53,9 @@ namespace scripting::lua::engine
}
stop();
load_scripts(game_module::get_host_module().get_folder() + "/data/scripts/");
load_scripts("s1x/scripts/");
load_scripts("data/scripts/");
load_scripts(game_module::get_host_module().get_folder() + "/data/lua-scripts/");
load_scripts("s1x/lua-scripts/");
load_scripts("data/lua-scripts/");
}
void notify(const event& e)