aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorslemonide <slemonide@gmail.com>2016-01-02 03:21:17 -0800
committerparamat <mat.gregory@virginmedia.com>2016-01-09 01:06:45 +0000
commit95c1b66722bbad9e82ef14bcc53d31d035b49012 (patch)
treed02df7befce74962703508b02a4b41854ecd83e2 /doc
parent57a461930ba13b0b499c334d77e4b6a0aa73606b (diff)
downloadminetest-95c1b66722bbad9e82ef14bcc53d31d035b49012.tar.gz
minetest-95c1b66722bbad9e82ef14bcc53d31d035b49012.tar.bz2
minetest-95c1b66722bbad9e82ef14bcc53d31d035b49012.zip
Update lua_api.txt
set_sky does work with on_joinplayer
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index ea5029e61..2ef25a9bd 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -2636,8 +2636,6 @@ This is basically a reference to a C++ `ServerActiveObject`
* `"regular"`: Uses 0 textures, `bgcolor` ignored
* `"skybox"`: Uses 6 textures, `bgcolor` used
* `"plain"`: Uses 0 textures, `bgcolor` used
- * **Note**: currently does not work directly in `on_joinplayer`; use
- `minetest.after(0)` in there.
* `get_sky()`: returns bgcolor, type and a table with the textures
* `override_day_night_ratio(ratio or nil)`
* `0`...`1`: Overrides day-night ratio, controlling sunlight to a specific amount