mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix game minetest.conf default settings
This was a regression introduced by f6e4c5d9cf
.
This commit is contained in:
parent
467fc0ddc9
commit
538036d004
6 changed files with 38 additions and 20 deletions
|
@ -202,6 +202,7 @@ public:
|
|||
// remove a setting
|
||||
bool remove(const std::string &name);
|
||||
void clear();
|
||||
void clearDefaults();
|
||||
void updateValue(const Settings &other, const std::string &name);
|
||||
void update(const Settings &other);
|
||||
void registerChangedCallback(std::string name, setting_changed_callback cbf, void *userdata = NULL);
|
||||
|
@ -211,6 +212,7 @@ private:
|
|||
|
||||
void updateNoLock(const Settings &other);
|
||||
void clearNoLock();
|
||||
void clearDefaultsNoLock();
|
||||
|
||||
void doCallbacks(std::string name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue