Invariant culture on float parse
This commit is contained in:
parent
ad052e7ad3
commit
e2fafa4f60
@ -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;
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user