Merge pull request #53494 from mhilbrunner/stop-drop-and-dont-lie

Fix outdated no_call_local, use call_remote
This commit is contained in:
Rémi Verschelde 2021-10-07 08:29:25 +02:00 committed by GitHub
commit 6eb2094d4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3500,7 +3500,7 @@ bool GDScriptParser::network_annotations(const AnnotationNode *p_annotation, Nod
} else if (mode == "unreliable_ordered") {
rpc_config.transfer_mode = Multiplayer::TRANSFER_MODE_UNRELIABLE_ORDERED;
} else {
push_error(R"(Invalid RPC argument. Must be one of: 'call_local'/'no_call_local' (local calls), 'any_peer'/'authority' (permission), 'reliable'/'unreliable'/'unreliable_ordered' (transfer mode).)", p_annotation);
push_error(R"(Invalid RPC argument. Must be one of: 'call_local'/'call_remote' (local calls), 'any_peer'/'authority' (permission), 'reliable'/'unreliable'/'unreliable_ordered' (transfer mode).)", p_annotation);
}
}
}