added remix support for weapon tracks

This commit is contained in:
2025-10-20 21:29:17 +11:00
parent 1494026aac
commit 28b2172bc8
7 changed files with 192 additions and 53 deletions

View File

@@ -378,6 +378,7 @@ func equip_weapon(slot: int = 0) -> void:
#if !inventory.contents.has(cards[slot]):
#decrement_selected()
weapons[slot] = cards[slot].weapon_scene.instantiate()
weapons[slot].stats = cards[slot].weapon_stats
weapons[slot].name = str(weapons_spawn_count)
weapons[slot].duration = 1
networked_equip_weapon.rpc(Data.cards.find(cards[slot]), 0, weapons_spawn_count)