Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
skhaz committed Dec 1, 2024
1 parent 0e3422b commit a3b91cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scriptengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sol::table require(sol::state &lua, std::string_view module) {
const auto script = std::string(data.begin(), data.end());
const auto result = lua.script(script);

return result;
return result.get<sol::table>();
}

void scriptengine::run() {
Expand Down

0 comments on commit a3b91cf

Please sign in to comment.