mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 02:27:21 -07: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue