mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
[Net] Rename RPCConfig.sync to call_local.
For consistency with the other user facing changes.
This commit is contained in:
parent
96767c18f8
commit
54ec66a700
3 changed files with 6 additions and 6 deletions
|
@ -3490,9 +3490,9 @@ bool GDScriptParser::network_annotations(const AnnotationNode *p_annotation, Nod
|
|||
} else if (mode == "authority") {
|
||||
rpc_config.rpc_mode = Multiplayer::RPC_MODE_AUTHORITY;
|
||||
} else if (mode == "call_local") {
|
||||
rpc_config.sync = true;
|
||||
rpc_config.call_local = true;
|
||||
} else if (mode == "call_remote") {
|
||||
rpc_config.sync = false;
|
||||
rpc_config.call_local = false;
|
||||
} else if (mode == "reliable") {
|
||||
rpc_config.transfer_mode = Multiplayer::TRANSFER_MODE_RELIABLE;
|
||||
} else if (mode == "unreliable") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue