summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript.h
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2018-05-29 11:49:37 +0200
committerGitHub <noreply@github.com>2018-05-29 11:49:37 +0200
commit37146897673f66f51736bd7022a6682285d87f47 (patch)
tree76f810cefb7542fc4e3040d52810899a5e4ea40c /modules/gdscript/gdscript.h
parentd0b62ce1558766134ea2fc6bcf912e837d0ae40b (diff)
parent4c69a495c948b1698a1634b506bf660bd49cdd76 (diff)
Merge pull request #19243 from godotengine/revert-19021-rpc_sync_fix
Revert "RPCMode refactor, more sync modes"
Diffstat (limited to 'modules/gdscript/gdscript.h')
-rw-r--r--modules/gdscript/gdscript.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h
index a35b0a10d5..6885fbb7fe 100644
--- a/modules/gdscript/gdscript.h
+++ b/modules/gdscript/gdscript.h
@@ -63,7 +63,7 @@ class GDScript : public Script {
int index;
StringName setter;
StringName getter;
- MultiplayerAPI::RPCMode rpc_mode;
+ ScriptInstance::RPCMode rpc_mode;
};
friend class GDScriptInstance;
@@ -248,8 +248,8 @@ public:
void reload_members();
- virtual MultiplayerAPI::RPCMode get_rpc_mode(const StringName &p_method) const;
- virtual MultiplayerAPI::RPCMode get_rset_mode(const StringName &p_variable) const;
+ virtual RPCMode get_rpc_mode(const StringName &p_method) const;
+ virtual RPCMode get_rset_mode(const StringName &p_variable) const;
GDScriptInstance();
~GDScriptInstance();