Remove debug prints

This commit is contained in:
Joscha 2024-05-13 11:12:19 +02:00
parent d18af32af8
commit 56c0e27ec2

View file

@ -33,7 +33,6 @@ func reconnect():
_joined = false
func send(p: EuphPacket):
print("=> ", p.json_stringify())
if not _socket:
push_warning("Tried to send ", p.type, " while not connected")
return
@ -41,7 +40,6 @@ func send(p: EuphPacket):
_socket.send_text(p.json_stringify())
func _on_packet(p: EuphPacket):
print("<= ", p.json_stringify())
if p.type == "ping-event":
send(EuphPacket.new("ping-reply", {"time": p.data.time}))