minor refactor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user