summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--soh/soh/UIWidgets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/soh/UIWidgets.cpp b/soh/soh/UIWidgets.cpp
index ca104f945..8de4e9e9d 100644
--- a/soh/soh/UIWidgets.cpp
+++ b/soh/soh/UIWidgets.cpp
@@ -449,7 +449,7 @@ namespace UIWidgets {
if (changed && !(abs(oldVal - val) < 0.000001f)) {
std::stringstream ss;
- ss << std::setprecision(ticks) << val;
+ ss << std::setprecision(ticks + 1) << val;
val = std::stof(ss.str());
CVarSetFloat(cvarName, val);
LUS::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesOnNextTick();