mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
minor refactor
This commit is contained in:
parent
73d96fd4f7
commit
d9a44f3b87
3 changed files with 64 additions and 74 deletions
|
|
@ -73,10 +73,6 @@ void scripting::initialize(Engine* engine) {
|
|||
return std::make_shared<int>(0);
|
||||
}
|
||||
|
||||
[[nodiscard]] scriptenv scripting::create_environment() {
|
||||
return lua::create_environment(lua::get_main_state());
|
||||
}
|
||||
|
||||
[[nodiscard]] scriptenv scripting::create_pack_environment(
|
||||
const ContentPack& pack
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue