mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
fix crashing on non-us locale.
This commit is contained in:
parent
cb134800b9
commit
af1ce516f4
2 changed files with 4 additions and 1 deletions
|
@ -533,7 +533,7 @@ namespace HISP.Game.Horse
|
|||
h1++;
|
||||
}
|
||||
}
|
||||
double hands = double.Parse(h1 + "." + h2); // This is terrible. dont do this.
|
||||
double hands = double.Parse(h1 + "." + h2, CultureInfo.InvariantCulture); // This is terrible. dont do this.
|
||||
return hands;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue