From 3bb336dfbd3574cf69ef197aa619de9639f05f0e Mon Sep 17 00:00:00 2001 From: Micky Date: Fri, 26 Jan 2024 12:30:50 +0100 Subject: [PATCH] Mention Multiplayer.`get_remote_sender_id`'s 0 after await --- doc/classes/MultiplayerAPI.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/MultiplayerAPI.xml b/doc/classes/MultiplayerAPI.xml index 95baf7c7060..96732bcaa53 100644 --- a/doc/classes/MultiplayerAPI.xml +++ b/doc/classes/MultiplayerAPI.xml @@ -34,7 +34,7 @@ Returns the sender's peer ID for the RPC currently being executed. - [b]Note:[/b] If not inside an RPC this method will return 0. + [b]Note:[/b] This method returns [code]0[/code] when called outside of an RPC. As such, the original peer ID may be lost when code execution is delayed (such as with GDScript's [code]await[/code] keyword).