mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Rename getMapSettingNoiseParams to getNoiseParams
This commit is contained in:
parent
0a67e6180d
commit
a1b8d20f18
4 changed files with 4 additions and 5 deletions
|
@ -892,7 +892,7 @@ int ModApiMapgen::l_get_mapgen_setting_noiseparams(lua_State *L)
|
|||
getEmergeManager(L)->map_settings_mgr;
|
||||
|
||||
const char *name = luaL_checkstring(L, 1);
|
||||
if (!settingsmgr->getMapSettingNoiseParams(name, &np))
|
||||
if (!settingsmgr->getNoiseParams(name, &np))
|
||||
return 0;
|
||||
|
||||
push_noiseparams(L, &np);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue