mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Removed some obsolete code (#10562)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
This commit is contained in:
parent
ea5d6312c1
commit
45ccfe26fb
9 changed files with 7 additions and 74 deletions
|
@ -873,9 +873,6 @@ int ModApiMapgen::l_set_mapgen_params(lua_State *L)
|
|||
if (lua_isnumber(L, -1))
|
||||
settingsmgr->setMapSetting("chunksize", readParam<std::string>(L, -1), true);
|
||||
|
||||
warn_if_field_exists(L, 1, "flagmask",
|
||||
"Obsolete: flags field now includes unset flags.");
|
||||
|
||||
lua_getfield(L, 1, "flags");
|
||||
if (lua_isstring(L, -1))
|
||||
settingsmgr->setMapSetting("mg_flags", readParam<std::string>(L, -1), true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue