diff --git a/include/dusk/config.hpp b/include/dusk/config.hpp index b56a4cbd43..6d36dff1f3 100644 --- a/include/dusk/config.hpp +++ b/include/dusk/config.hpp @@ -173,11 +173,10 @@ void unsubscribe(Subscription token); /** * \brief Register a CVar and attach a change callback in one step. - * +* * Useful for pushing settings into external systems (e.g. aurora) from one place instead of - * every UI setter. The callback fires only for runtime changes (see subscribe); the value - * loaded from config or launch arguments does not fire it — the external system reads its - * initial value itself at its own initialization. + * every UI setter. The callback fires only for runtime changes (see subscribe); not when + * loaded from config or launch arguments. */ template requires std::invocable Subscription Register( diff --git a/src/dusk/config.cpp b/src/dusk/config.cpp index 698dceaaac..a2b79eaac5 100644 --- a/src/dusk/config.cpp +++ b/src/dusk/config.cpp @@ -483,9 +483,6 @@ static void LoadFromPath(const char* path) { const auto& key = el.key(); auto configVar = RegisteredConfigVars.find(key); if (configVar == RegisteredConfigVars.end()) { - DuskConfigLog.debug("Unknown key '{}' found in config! If this gets registered later, " - "that's acceptable!", - key); UnregisteredConfigVars.emplace(key, el.value()); continue; } diff --git a/src/dusk/ui/settings.cpp b/src/dusk/ui/settings.cpp index 401d2aee89..124515d64f 100644 --- a/src/dusk/ui/settings.cpp +++ b/src/dusk/ui/settings.cpp @@ -1052,7 +1052,7 @@ SettingsWindow::SettingsWindow(bool prelaunch) : mPrelaunch(prelaunch) { mDoAud_seStartMenu(kSoundItemChange); getSettings().game.touchTargeting.setValue( static_cast(i)); - config::Save(); + config::save(); }); } pane.add_rml(fmt::format("
Hybrid: {}
Hold: {}
Switch: {}",