Recent weapon

This commit is contained in:
Rendo 2025-12-17 01:09:35 +05:00
commit f234ca974e
4 changed files with 15 additions and 1 deletions

View file

@ -35,6 +35,7 @@ func _ready() -> void:
player_input.switch_weapon.connect(switch)
player_input.alternate_state.connect(alternate_state)
player_input.switch_firemode.connect(switch_mode)
player_input.recent_weapon.connect(return_to_previous)
await get_tree().process_frame
await get_tree().process_frame