From 6dc0ec5258c700096eadba793a131ce3ceea5748 Mon Sep 17 00:00:00 2001 From: teejusb <5017202+teejusb@users.noreply.github.com> Date: Fri, 22 Oct 2021 18:33:13 -0700 Subject: [PATCH] Woops, actually store the value of the visual delay. --- src/PlayerOptions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlayerOptions.cpp b/src/PlayerOptions.cpp index acc5ad1fa8..1badc2c757 100644 --- a/src/PlayerOptions.cpp +++ b/src/PlayerOptions.cpp @@ -562,7 +562,7 @@ void PlayerOptions::GetMods( vector &AddTo, bool bForceNoteSkin ) const { // Format the string to be something like "10ms VisualDelay". // Note that we don't process sub-millisecond visual delay. - AddTo.push_back( ssprintf("%ldms VisualDelay") ); + AddTo.push_back( ssprintf("%.0fms VisualDelay", m_fVisualDelay) ); } }