feat: add plasma gun weapon implementation and new pause menu system with loadout management
This commit is contained in:
@@ -55,6 +55,10 @@ func _equip_slot(slot: int) -> void:
|
||||
var w = weapons[active_slot]
|
||||
w.visible = false
|
||||
w.set_process_input(false)
|
||||
if "is_firing" in w:
|
||||
w.is_firing = false
|
||||
if w.has_method("unequip"):
|
||||
w.unequip()
|
||||
|
||||
active_slot = slot
|
||||
|
||||
|
||||
Reference in New Issue
Block a user