mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Minor script api fixes/cleanups
This commit is contained in:
@@ -50,14 +50,14 @@ MapSettingsManager::~MapSettingsManager()
|
||||
|
||||
|
||||
bool MapSettingsManager::getMapSetting(
|
||||
const std::string &name, std::string *value_out)
|
||||
const std::string &name, std::string *value_out) const
|
||||
{
|
||||
return m_map_settings->getNoEx(name, *value_out);
|
||||
}
|
||||
|
||||
|
||||
bool MapSettingsManager::getMapSettingNoiseParams(
|
||||
const std::string &name, NoiseParams *value_out)
|
||||
const std::string &name, NoiseParams *value_out) const
|
||||
{
|
||||
// TODO: Rename to "getNoiseParams"
|
||||
return m_map_settings->getNoiseParams(name, *value_out);
|
||||
|
Reference in New Issue
Block a user