diff options
| author | Fabio Alessandrelli | 2018-05-13 07:07:56 +0200 |
|---|---|---|
| committer | Fabio Alessandrelli | 2018-05-26 10:43:43 +0200 |
| commit | 9de4ffde616266f5bcc2164590f36ef1143bc271 (patch) | |
| tree | 669a745bd08e412bc72ec903cfef74c349715bca /modules/gdscript/gdscript_function.cpp | |
| parent | a71b0830ab79709ec7f6daa1c9a03c6de6e9f83b (diff) | |
| download | godot-9de4ffde616266f5bcc2164590f36ef1143bc271.tar.gz godot-9de4ffde616266f5bcc2164590f36ef1143bc271.tar.zst godot-9de4ffde616266f5bcc2164590f36ef1143bc271.zip | |
Refactor RPCMode enum and checks
Diffstat (limited to 'modules/gdscript/gdscript_function.cpp')
| -rw-r--r-- | modules/gdscript/gdscript_function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_function.cpp b/modules/gdscript/gdscript_function.cpp index dac7da3a2..61130cb58 100644 --- a/modules/gdscript/gdscript_function.cpp +++ b/modules/gdscript/gdscript_function.cpp @@ -1455,7 +1455,7 @@ GDScriptFunction::GDScriptFunction() : _stack_size = 0; _call_size = 0; - rpc_mode = ScriptInstance::RPC_MODE_DISABLED; + rpc_mode = MultiplayerAPI::RPC_MODE_DISABLED; name = "<anonymous>"; #ifdef DEBUG_ENABLED _func_cname = NULL; |
