update
This commit is contained in:
@@ -10,6 +10,9 @@ var current_role: int = Role.DAMAGE
|
||||
|
||||
@onready var player: CharacterBody3D = get_parent()
|
||||
|
||||
func _ready() -> void:
|
||||
set_role.call_deferred(current_role)
|
||||
|
||||
func _unhandled_input(event: InputEvent) -> void:
|
||||
if event.is_action_pressed("class_tank"):
|
||||
set_role(Role.TANK)
|
||||
|
||||
Reference in New Issue
Block a user