From 90100df0b13a20c4ca1774f7298f0061b00ba475 Mon Sep 17 00:00:00 2001 From: David Snopek Date: Thu, 18 Aug 2022 14:21:09 -0500 Subject: [PATCH] Minor improvements to NetworkedMultiplayerCustom.xml --- doc/classes/NetworkedMultiplayerCustom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/NetworkedMultiplayerCustom.xml b/doc/classes/NetworkedMultiplayerCustom.xml index 3c1bd9057..5c96bbfd5 100644 --- a/doc/classes/NetworkedMultiplayerCustom.xml +++ b/doc/classes/NetworkedMultiplayerCustom.xml @@ -23,7 +23,7 @@ - Initialize the peer with the given [code]peer_id[/code] (must be between 1 and 2147483647). + Initialize the peer with the given [code]self_peer_id[/code] (must be between 1 and 2147483647). Can only be called if the connection status is [constant NetworkedMultiplayerPeer.CONNECTION_CONNECTING]. See [method set_connection_status]. @@ -50,7 +50,7 @@ - Emitted when the local [MultiplayerAPI] generates a packet. + Emitted when the local [MultiplayerAPI] generates a packet (e.g. when calling [method Node.rpc]). Your script should take this packet and send it to the requested peer over the network (which should call [method deliver_packet] with the data when it's received).