Client/scripts/match/ui/current_game_time.gd

10 lines
193 B
GDScript3
Raw Normal View History

2025-03-05 11:35:40 +01:00
extends RichTextLabel
func _ready() -> void:
MatchChannel.connect("on_match_update", on_match_update)
func on_match_update(msg: CurrentUnixTimeMessage) -> void:
self.text = str(msg.time)