mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
add test.reconfig_packs & fix world.get_total_time() & enable level controller
This commit is contained in:
parent
9e18dccbbb
commit
3c2eb30a29
5 changed files with 14 additions and 2 deletions
|
|
@ -115,8 +115,8 @@ static int l_reconfig_packs(lua::State* L) {
|
|||
remPacks.emplace_back(lua::tostring(L, -1));
|
||||
lua::pop(L);
|
||||
}
|
||||
auto engine_controller = engine->getController();
|
||||
engine_controller->reconfigPacks(controller, addPacks, remPacks);
|
||||
auto engineController = engine->getController();
|
||||
engineController->reconfigPacks(controller, addPacks, remPacks);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue