swapped out old remix menu for new one

This commit is contained in:
2025-10-20 20:29:52 +11:00
parent d4cf1d91e8
commit 1494026aac
7 changed files with 118 additions and 63 deletions

View File

@@ -356,15 +356,15 @@ func update_selected_box() -> void:
func equip_weapon(slot: int = 0) -> void:
if weapons[slot] != null:
unequip_weapon(slot)
if !game_manager.card_gameplay or hand.size == 1:
return
if hand.size == 0:
return
var energy_cost: int = selected_card.cost
if game_manager.card_gameplay and energy < energy_cost:
return
if weapons[slot] != null:
unequip_weapon(slot)
if !game_manager.card_gameplay:
return
if hand.size > 0:
if game_manager.card_gameplay:
energy -= energy_cost