7 lines
195 B
GDScript
7 lines
195 B
GDScript
extends Label
|
|
|
|
func _ready() -> void:
|
|
EventBus.team_in_rest_changed.connect(_on_EventBus_team_in_rest_changed)
|
|
|
|
func _on_EventBus_team_in_rest_changed(_value : int) -> void:
|
|
text = str(_value)
|