Remove debug prints
This commit is contained in:
parent
d18af32af8
commit
56c0e27ec2
1 changed files with 0 additions and 2 deletions
|
|
@ -33,7 +33,6 @@ func reconnect():
|
||||||
_joined = false
|
_joined = false
|
||||||
|
|
||||||
func send(p: EuphPacket):
|
func send(p: EuphPacket):
|
||||||
print("=> ", p.json_stringify())
|
|
||||||
if not _socket:
|
if not _socket:
|
||||||
push_warning("Tried to send ", p.type, " while not connected")
|
push_warning("Tried to send ", p.type, " while not connected")
|
||||||
return
|
return
|
||||||
|
|
@ -41,7 +40,6 @@ func send(p: EuphPacket):
|
||||||
_socket.send_text(p.json_stringify())
|
_socket.send_text(p.json_stringify())
|
||||||
|
|
||||||
func _on_packet(p: EuphPacket):
|
func _on_packet(p: EuphPacket):
|
||||||
print("<= ", p.json_stringify())
|
|
||||||
if p.type == "ping-event":
|
if p.type == "ping-event":
|
||||||
send(EuphPacket.new("ping-reply", {"time": p.data.time}))
|
send(EuphPacket.new("ping-reply", {"time": p.data.time}))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue