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; return;
} }
if (!float.TryParse(arguments, out float value)) if (!float.TryParse(arguments, CultureInfo.InvariantCulture, out float value))
{ {
Service.PrintChat("Invalid parameters."); Service.PrintChat("Invalid parameters.");
return; return;

View File

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