summaryrefslogtreecommitdiff
path: root/modules/mono
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-07-12 19:22:12 +0200
committerGitHub <noreply@github.com>2021-07-12 19:22:12 +0200
commit3bff909237bd15706a3450f82bb555f507acfaa1 (patch)
treed8b3f03abeeb8b0a12a1a3b2432b9c79e7351e53 /modules/mono
parent72240084cacb40a06df7c420ad2002c1e76ac713 (diff)
parent97e763dddf6aad72b7dd05ad52dfe16cecc1f221 (diff)
Merge pull request #50398 from Faless/mp/4.x_networked_rename
[Net] NetworkedMultiplayerPeer(s) renames
Diffstat (limited to 'modules/mono')
-rw-r--r--modules/mono/csharp_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index be46e76d9c..ff6a47f59b 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -3038,7 +3038,7 @@ void CSharpScript::update_script_class_info(Ref<CSharpScript> p_script) {
nd.name = methods[i]->get_name();
nd.rpc_mode = mode;
// TODO Transfer mode, channel
- nd.transfer_mode = NetworkedMultiplayerPeer::TRANSFER_MODE_RELIABLE;
+ nd.transfer_mode = MultiplayerPeer::TRANSFER_MODE_RELIABLE;
nd.channel = 0;
if (-1 == p_script->rpc_functions.find(nd)) {
p_script->rpc_functions.push_back(nd);