mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Document minetest.get_gametime()
returning nil
at init time (#14047)
Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
047520d91e
commit
91134015e7
1 changed files with 1 additions and 1 deletions
|
@ -5920,7 +5920,7 @@ Environment access
|
|||
* `val` is between `0` and `1`; `0` for midnight, `0.5` for midday
|
||||
* `minetest.get_timeofday()`
|
||||
* `minetest.get_gametime()`: returns the time, in seconds, since the world was
|
||||
created.
|
||||
created. The time is not available (`nil`) before the first server step.
|
||||
* `minetest.get_day_count()`: returns number days elapsed since world was
|
||||
created.
|
||||
* accounts for time changes.
|
||||
|
|
Loading…
Add table
Reference in a new issue