diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-10-06 17:10:50 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-10-08 12:39:09 +0200 |
commit | 54ec66a70019d044c6fc723ba8f0c88fec0eda44 (patch) | |
tree | 92ce2ceacb9e071114231e7adcb304b9cbb3bff9 /modules/gdscript/gdscript_parser.cpp | |
parent | 96767c18f89bc12232f4ce7016c797ebb0aaeb19 (diff) | |
download | redot-engine-54ec66a70019d044c6fc723ba8f0c88fec0eda44.tar.gz |
[Net] Rename RPCConfig.sync to call_local.
For consistency with the other user facing changes.
Diffstat (limited to 'modules/gdscript/gdscript_parser.cpp')
-rw-r--r-- | modules/gdscript/gdscript_parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index 93a5f7d493..d3b57fbe18 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -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") { |