diff options
author | Danil Alexeev <danil@alexeev.xyz> | 2023-03-03 17:42:32 +0300 |
---|---|---|
committer | Danil Alexeev <danil@alexeev.xyz> | 2023-03-05 17:03:20 +0300 |
commit | ea5fd3d732a85029e8372425904971ad26153ff1 (patch) | |
tree | 0ce81c0016d8f3840c22e9bf2d1be2bdd47140ea /doc/classes/UDPServer.xml | |
parent | 61d2c855114c824f5ca27ded0a1fa71cc7b21134 (diff) | |
download | redot-engine-ea5fd3d732a85029e8372425904971ad26153ff1.tar.gz |
Fix GDScript code style regarding colon
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 a7f594dd4c..e3901336a5 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()]) |