doc: Sync classref with current source
This commit is contained in:
@ -45,7 +45,7 @@
|
||||
if !connected:
|
||||
# Try to contact server
|
||||
udp.put_packet("The answer is... 42!".to_utf8())
|
||||
if udp.get_available_packet_count() > 0:
|
||||
if udp.get_available_packet_count() > 0:
|
||||
print("Connected: %s" % udp.get_packet().get_string_from_utf8())
|
||||
connected = true
|
||||
[/codeblock]
|
||||
|
||||
Reference in New Issue
Block a user