1
0
Fork 0
godot/modules/gdscript/doc_classes
Max Aller e304b4e43e
GDScript: Fix incorrect default transfer_mode for `@rpc` annotation
The `@rpc` annotation was registered with "unreliable" as the default
transfer_mode, but the runtime (SceneRPCInterface) defaults to
TRANSFER_MODE_RELIABLE. This caused a mismatch between the documented
default and the actual behavior when using Node.rpc_config().

Changed the parser default to "reliable" to match the runtime behavior
and C# RpcAttribute. Added comments in all three locations to help
prevent future drift.

Fixes godotengine/godot-docs#8874
Related docs fix: godotengine/godot-docs#11554
2026-01-01 11:46:24 +01:00
..
@GDScript.xml GDScript: Fix incorrect default transfer_mode for `@rpc` annotation 2026-01-01 11:46:24 +01:00
GDScript.xml
GDScriptSyntaxHighlighter.xml