fix crashing on non-us locale.

This commit is contained in:
SilicaAndPina 2021-02-06 21:36:40 +13:00
parent cb134800b9
commit af1ce516f4
2 changed files with 4 additions and 1 deletions

View file

@ -533,7 +533,7 @@ namespace HISP.Game.Horse
h1++; 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; return hands;
} }
} }

View file

@ -21,6 +21,9 @@ namespace HISP.Game.Inventory
{ {
get get
{ {
if (baseUser.Subscribed)
return 11;
return 7; // will change when ranches are implemented. return 7; // will change when ranches are implemented.
} }
} }