mirror of
https://github.com/thepaperpilot/Super-Auto-Coots.git
synced 2024-11-22 08:31:34 +00:00
Hide move indicators from shop items if insufficient gold
This commit is contained in:
parent
7d22471da6
commit
9df4161adb
1 changed files with 2 additions and 1 deletions
|
@ -134,7 +134,8 @@ export const main = createLayer("main", function (this: BaseLayer) {
|
|||
? selectedShopItem.value == null ||
|
||||
(team.value[i] != null &&
|
||||
shop.value[selectedShopItem.value]?.type !==
|
||||
team.value[i]?.type)
|
||||
team.value[i]?.type) ||
|
||||
gold.value < 3
|
||||
? null
|
||||
: shop.value[selectedShopItem.value]
|
||||
: team.value[selectedCharacter.value]
|
||||
|
|
Loading…
Reference in a new issue