1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-19 11:15:18 +02:00

Fix re-loading of settings in ClientMap

This commit is contained in:
sfan5
2024-08-27 09:14:31 +02:00
parent c52a4369eb
commit c00fed20b7
2 changed files with 32 additions and 25 deletions

View File

@@ -112,7 +112,7 @@ public:
f32 getWantedRange() const { return m_control.wanted_range; }
f32 getCameraFov() const { return m_camera_fov; }
void onSettingChanged(const std::string &name);
void onSettingChanged(std::string_view name, bool all);
protected:
// use drop() instead