Skip to content

Commit

Permalink
oops, it's not a lower bound. it's rather first lower, then <1ms befo…
Browse files Browse the repository at this point in the history
…re upper. I forgot
  • Loading branch information
Desour committed Oct 24, 2024
1 parent 1b7604e commit acface5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions doc/lua_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -6926,10 +6926,9 @@ Timing
started at least `time` seconds after the last time a server-step started,
measured with globalstep dtime.
* In particular this can result in relatively large delays if `time` is close
to the server-step dtime. For example, with a target server-step of 0.09 s
(the engine uses the target as a lower bound for the actual server-step
dtime), `minetest.after(0.09, ...)` usually waits two steps, resulting in
a delay of about 0.18 s.
to the server-step dtime. For example, with a target server-step of 0.09 s,
`minetest.after(0.09, ...)` usually waits two steps, resulting in a delay
of about 0.18 s.
* If `time` is `0`, the job is executed in the next step.

* `job:cancel()`
Expand Down

0 comments on commit acface5

Please sign in to comment.