config: update animation even if disabled

This commit is contained in:
Vaxry 2025-01-07 20:27:07 +01:00
parent 830350a1f7
commit c143907857

View file

@ -2053,7 +2053,6 @@ std::optional<std::string> CConfigManager::handleAnimation(const std::string& co
if (enabledInt != 0 && enabledInt != 1) if (enabledInt != 0 && enabledInt != 1)
return "invalid animation on/off state"; return "invalid animation on/off state";
if (enabledInt) {
int64_t speed = -1; int64_t speed = -1;
// speed // speed
@ -2084,7 +2083,6 @@ std::optional<std::string> CConfigManager::handleAnimation(const std::string& co
if (ERR != "") if (ERR != "")
return ERR; return ERR;
} }
}
return {}; return {};
} }