mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-14 05:25:09 -05:00
Balanced Shopsanity Bugfix (#2640)
* Fixes settings bug with Balanced shopsanity prices from Shopsanity Affordable Update. * Wrong location * Updated fixed comment
This commit is contained in:
parent
72b12890fd
commit
533ee9379a
@ -150,8 +150,8 @@ int GetPriceAffordable() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int GetRandomShopPrice() {
|
int GetRandomShopPrice() {
|
||||||
// If Affordable is enabled, no need to set randomizer max price
|
// If Shopsanity prices aren't Balanced, but Affordable is on, don't GetPriceFromMax
|
||||||
if (Settings::ShopsanityPricesAffordable.Is(true)) {
|
if (Settings::ShopsanityPricesAffordable.Is(true) && Settings::ShopsanityPrices.IsNot(RO_SHOPSANITY_PRICE_BALANCED)) {
|
||||||
return GetPriceAffordable();
|
return GetPriceAffordable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user