1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-02 19:01:36 +00:00
Files
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
..