Skip to content

Commit

Permalink
fix(emscripten): filesystem still buggy...
Browse files Browse the repository at this point in the history
  • Loading branch information
Milerius committed Oct 15, 2019
1 parent 6e8fb72 commit 1b7e878
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/lua/antara/gaming/lua/lua.system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ namespace antara::gaming::lua
assert(std::filesystem::exists(systems_directory_path_));
assert(std::filesystem::exists(script_lib_directory_));
assert(std::filesystem::exists(directory_path_));
#ifndef EMSCRIPTEN
assert(this->load_scripts(script_lib_directory_));
#endif
sol::table table = lua_state_->create_table_with("version", gaming::version());
table.new_enum<ecs::system_type>("system_type", {
{"pre_update", ecs::pre_update},
Expand Down

0 comments on commit 1b7e878

Please sign in to comment.