diff options
Diffstat (limited to 'doc/classes/UDPServer.xml')
-rw-r--r-- | doc/classes/UDPServer.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/UDPServer.xml b/doc/classes/UDPServer.xml index 8151ecb625..60d1986bee 100644 --- a/doc/classes/UDPServer.xml +++ b/doc/classes/UDPServer.xml @@ -22,7 +22,7 @@ func _process(delta): server.poll() # Important! if server.is_connection_available(): - var peer : PacketPeerUDP = server.take_connection() + var peer: PacketPeerUDP = server.take_connection() var packet = peer.get_packet() print("Accepted peer: %s:%s" % [peer.get_packet_ip(), peer.get_packet_port()]) print("Received data: %s" % [packet.get_string_from_utf8()]) |