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
2c60e7c6ae
commit
9e8acac783
4 changed files with 8 additions and 7 deletions
|
|
@ -510,8 +510,8 @@ function __vc_on_world_open()
|
|||
end
|
||||
end
|
||||
|
||||
function __vc_on_world_tick()
|
||||
time.schedules.world:tick(1.0 / 20.0)
|
||||
function __vc_on_world_tick(tps)
|
||||
time.schedules.world:tick(1.0 / tps)
|
||||
end
|
||||
|
||||
function __vc_on_world_save()
|
||||
|
|
@ -683,4 +683,4 @@ function dofile(path)
|
|||
end
|
||||
end
|
||||
return _dofile(path)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue