Some fixes

This commit is contained in:
Federico Cecchetto
2022-04-08 18:24:35 +02:00
parent b0827b80dc
commit b88c8d3eb0
2 changed files with 3 additions and 5 deletions

View File

@ -49,7 +49,7 @@ namespace scripting::lua::engine
void start()
{
stop();
running = true;
for (const auto& path : filesystem::get_search_paths())
{
load_scripts(path + "/scripts/");
@ -62,8 +62,6 @@ namespace scripting::lua::engine
load_scripts(path + "/scripts/mp/");
}
}
running = true;
}
void notify(const event& e)