summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-09-14 23:10:12 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-09-15 00:06:03 +0200
commit1e9b46d6877acd1b397be83f5264bf1511c56407 (patch)
tree3672a4aea26458940c8dcbe14a6acb6edaeecbaa /modules/gdscript
parentd6b31daec61286dc5ebf953e0f2e70817deaf5ef (diff)
Clearly deprecate sync too in favor of remotesync.
NOTE: This changes the RPC_MODE_* enum values. Games should be re-exported. GDNative rebuilt.
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gdscript_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp
index 1cea90ca12..14143c0866 100644
--- a/modules/gdscript/gdscript_parser.cpp
+++ b/modules/gdscript/gdscript_parser.cpp
@@ -4476,7 +4476,7 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
return;
}
- rpc_mode = MultiplayerAPI::RPC_MODE_SYNC;
+ rpc_mode = MultiplayerAPI::RPC_MODE_REMOTESYNC;
continue;
} break;
case GDScriptTokenizer::TK_PR_MASTERSYNC: {