7 lines
204 B
GDScript
7 lines
204 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 : Array) -> void:
|
|
text = str(_value.size())
|