1
0
Fork 0
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:
wozrer 2025-01-02 12:54:44 +03:00 committed by cx384
parent 0a67e6180d
commit a1b8d20f18
4 changed files with 4 additions and 5 deletions

View file

@ -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);