Split client and server
This commit is contained in:
7
client/ui/debug/PingLabel.gd
Normal file
7
client/ui/debug/PingLabel.gd
Normal file
@ -0,0 +1,7 @@
|
||||
extends DebugLabel
|
||||
|
||||
func _ready():
|
||||
%Ping.connect("changed", on_ping_changed)
|
||||
|
||||
func on_ping_changed(ping):
|
||||
text = str(snapped(ping * 1000, 1)) + " ms"
|
Reference in New Issue
Block a user