mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Use .md extension for markdown files
Linking to line numbers is brittle, linking to sections/headings is better. If you still want to link to a line number, you can append ?plain=1 to GitHub's URL
This commit is contained in:
parent
5cd6a22dd3
commit
b1786e88ac
11 changed files with 20 additions and 20 deletions
|
@ -1805,7 +1805,7 @@ int ObjectRef::l_set_sky(lua_State *L)
|
|||
}
|
||||
} else {
|
||||
// Handle old set_sky calls, and log deprecated:
|
||||
log_deprecated(L, "Deprecated call to set_sky, please check lua_api.txt");
|
||||
log_deprecated(L, "Deprecated call to set_sky, please check lua_api.md");
|
||||
|
||||
// Fix sun, moon and stars showing when classic textured skyboxes are used
|
||||
SunParams sun_params = player->getSunParams();
|
||||
|
@ -1898,7 +1898,7 @@ int ObjectRef::l_get_sky(lua_State *L)
|
|||
|
||||
// handle the deprecated version
|
||||
if (!readParam<bool>(L, 2, false)) {
|
||||
log_deprecated(L, "Deprecated call to get_sky, please check lua_api.txt");
|
||||
log_deprecated(L, "Deprecated call to get_sky, please check lua_api.md");
|
||||
|
||||
push_ARGB8(L, skybox_params.bgcolor);
|
||||
lua_pushlstring(L, skybox_params.type.c_str(), skybox_params.type.size());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue