Fix typo in StringToFloat

This commit is contained in:
teejusb
2021-10-22 17:22:21 -07:00
parent e0abda3d24
commit b371a4d9c4
+1 -1
View File
@@ -611,7 +611,7 @@ bool PlayerOptions::FromOneModString( const RString &sOneMod, RString &sErrorOut
{ {
// Strip off the "ms" before parsing. // Strip off the "ms" before parsing.
RString ms_value = s.substr( s.size()-2 ); RString ms_value = s.substr( s.size()-2 );
level = StringToFlot( ms_value ); level = StringToFloat( ms_value );
} }
else if( isdigit(s[0]) || s[0] == '-' ) else if( isdigit(s[0]) || s[0] == '-' )
{ {