Client/scripts/match/ui/current_game_time.gd
Kevin Schmidt f6e650b671
All checks were successful
Quality Check / Linting (push) Successful in 6s
Quality Check / Linting (pull_request) Successful in 7s
TD-18: Matchmaking UI
2025-03-05 11:35:40 +01:00

9 lines
193 B
GDScript

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)