mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-26 03:12:18 -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() {
|
||||
// If Affordable is enabled, no need to set randomizer max price
|
||||
if (Settings::ShopsanityPricesAffordable.Is(true)) {
|
||||
// If Shopsanity prices aren't Balanced, but Affordable is on, don't GetPriceFromMax
|
||||
if (Settings::ShopsanityPricesAffordable.Is(true) && Settings::ShopsanityPrices.IsNot(RO_SHOPSANITY_PRICE_BALANCED)) {
|
||||
return GetPriceAffordable();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user