Document minetest.get_gametime() returning nil at init time (#14047)

Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
AFCMS 2023-12-03 09:00:29 +01:00 committed by GitHub
parent 047520d91e
commit 91134015e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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.