Remove uses of static typing from the documentation

This commit is contained in:
Micky
2024-12-02 15:56:46 +01:00
parent 893bbdfde8
commit 109fcbb43a
8 changed files with 19 additions and 19 deletions

View File

@ -23,8 +23,8 @@
func _process(delta):
while server.is_connection_available():
var peer: PacketPeerUDP = server.take_connection()
var dtls_peer: PacketPeerDTLS = dtls.take_connection(peer)
var peer = server.take_connection()
var dtls_peer = dtls.take_connection(peer)
if dtls_peer.get_status() != PacketPeerDTLS.STATUS_HANDSHAKING:
continue # It is normal that 50% of the connections fails due to cookie exchange.
print("Peer connected!")