Improved UI

This commit is contained in:
2024-01-25 12:10:29 +01:00
parent 1d0521c0bb
commit b7e7b8abd3
11 changed files with 98 additions and 78 deletions

View File

@ -1,7 +1,7 @@
extends DebugLabel
func _ready():
%Ping.connect("changed", on_ping_changed)
owner.on_ping_changed.connect(on_ping_changed)
func on_ping_changed(ping):
text = str(snapped(ping * 1000, 1)) + " ms"