mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix 'timeit' in headless mode
This commit is contained in:
parent
c67f158e62
commit
b05c2fc911
4 changed files with 5 additions and 4 deletions
|
|
@ -1,6 +1,7 @@
|
|||
test.new_world("demo", "2019", "core:default")
|
||||
assert(world.is_open())
|
||||
assert(world.get_generator() == "core:default")
|
||||
coroutine.yield()
|
||||
test.sleep(1)
|
||||
assert(world.get_total_time() > 0.0)
|
||||
print(world.get_total_time())
|
||||
test.close_world(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue