From b371a4d9c4a865b078467d67e88217e3f326b3ef Mon Sep 17 00:00:00 2001 From: teejusb <5017202+teejusb@users.noreply.github.com> Date: Fri, 22 Oct 2021 17:22:21 -0700 Subject: [PATCH] Fix typo in StringToFloat --- src/PlayerOptions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlayerOptions.cpp b/src/PlayerOptions.cpp index 3389efc132..68d28b56a3 100644 --- a/src/PlayerOptions.cpp +++ b/src/PlayerOptions.cpp @@ -611,7 +611,7 @@ bool PlayerOptions::FromOneModString( const RString &sOneMod, RString &sErrorOut { // Strip off the "ms" before parsing. RString ms_value = s.substr( s.size()-2 ); - level = StringToFlot( ms_value ); + level = StringToFloat( ms_value ); } else if( isdigit(s[0]) || s[0] == '-' ) {