Update lua_api.txt
authorslemonide <slemonide@gmail.com>
Sat, 2 Jan 2016 11:21:17 +0000 (03:21 -0800)
committerparamat <mat.gregory@virginmedia.com>
Sat, 9 Jan 2016 01:06:45 +0000 (01:06 +0000)
set_sky does work with on_joinplayer

doc/lua_api.txt

index ea5029e61eeb62a357bbc616f9b023d69ccf68ed..2ef25a9bd0945bd73fccdf4f4c1c487f2a25f568 100644 (file)
@@ -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