Invariant culture on float parse

This commit is contained in:
Jade Macho 2024-02-18 22:55:36 +01:00
parent ad052e7ad3
commit e2fafa4f60
Signed by: 0x0ade
GPG Key ID: E1960710FE4FBEEF
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ public sealed class OpenSettingsCmd : Cmd
return;
}
if (!float.TryParse(arguments, out float value))
if (!float.TryParse(arguments, CultureInfo.InvariantCulture, out float value))
{
Service.PrintChat("Invalid parameters.");
return;

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<Authors>0x0ade</Authors>
<Company></Company>
<Version>0.1.0.2</Version>
<Version>0.1.0.3</Version>
<Description></Description>
<Copyright></Copyright>
<PackageProjectUrl></PackageProjectUrl>