Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
skhaz committed Feb 15, 2025
1 parent 96e017c commit 1267949
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 @@ -541,7 +541,7 @@ void framework::scriptengine::run() {

lua["setup"]();
const auto loop = lua["loop"].get<sol::function>();
const auto engine = lua["engine"].get<framework::engine *>();
const auto engine = lua["engine"].get<std::shared_ptr<framework::engine>>();
engine->add_loopable(std::make_shared<lua_loopable>(lua, std::move(loop)));
lua["run"]();
}

0 comments on commit 1267949

Please sign in to comment.