mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-10 07:05:41 +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++;
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue