[Net] Rename RPCConfig.sync to call_local.

For consistency with the other user facing changes.
This commit is contained in:
Fabio Alessandrelli 2021-10-06 17:10:50 +02:00
parent 96767c18f8
commit 54ec66a700
3 changed files with 6 additions and 6 deletions

View file

@ -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") {