mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00: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
|
* `val` is between `0` and `1`; `0` for midnight, `0.5` for midday
|
||||||
* `minetest.get_timeofday()`
|
* `minetest.get_timeofday()`
|
||||||
* `minetest.get_gametime()`: returns the time, in seconds, since the world was
|
* `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
|
* `minetest.get_day_count()`: returns number days elapsed since world was
|
||||||
created.
|
created.
|
||||||
* accounts for time changes.
|
* accounts for time changes.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue