mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +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
|
|
@ -1,4 +1,8 @@
|
|||
test.reconfig_packs({"base"}, {})
|
||||
test.new_world("demo", "2019", "core:default")
|
||||
assert(world.get_generator() == "core:default")
|
||||
coroutine.yield()
|
||||
assert(world.get_total_time() > 0.0)
|
||||
print(world.get_total_time())
|
||||
test.close_world(true)
|
||||
assert(not world.is_open())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue