Skip to content

Commit

Permalink
Update lua_api.txt
Browse files Browse the repository at this point in the history
set_sky does work with on_joinplayer
  • Loading branch information
slemonide authored and paramat committed Jan 9, 2016
1 parent 57a4619 commit 95c1b66
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions doc/lua_api.txt
Expand Up @@ -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
Expand Down

0 comments on commit 95c1b66

Please sign in to comment.