summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_byte_codegen.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-07-28 20:46:31 +0200
committerGitHub <noreply@github.com>2022-07-28 20:46:31 +0200
commit14d021287bced6a7f5ab9db24936bd07b4cfdfd0 (patch)
treed56647d7c1a68b282074afbab8ccf4bf890718c2 /modules/gdscript/gdscript_byte_codegen.cpp
parent8e0f328a80a4c01bc4788a9aa6daaeb3097b4fab (diff)
parentca7d572908c58c587214b8f65bdd4078d0185ab2 (diff)
downloadredot-engine-14d021287bced6a7f5ab9db24936bd07b4cfdfd0.tar.gz
Merge pull request #63049 from Faless/mp/4.x_as_module
Diffstat (limited to 'modules/gdscript/gdscript_byte_codegen.cpp')
-rw-r--r--modules/gdscript/gdscript_byte_codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_byte_codegen.cpp b/modules/gdscript/gdscript_byte_codegen.cpp
index 8e4ca44e81..fa158591fd 100644
--- a/modules/gdscript/gdscript_byte_codegen.cpp
+++ b/modules/gdscript/gdscript_byte_codegen.cpp
@@ -158,7 +158,7 @@ void GDScriptByteCodeGenerator::end_parameters() {
function->default_arguments.reverse();
}
-void GDScriptByteCodeGenerator::write_start(GDScript *p_script, const StringName &p_function_name, bool p_static, Multiplayer::RPCConfig p_rpc_config, const GDScriptDataType &p_return_type) {
+void GDScriptByteCodeGenerator::write_start(GDScript *p_script, const StringName &p_function_name, bool p_static, Variant p_rpc_config, const GDScriptDataType &p_return_type) {
function = memnew(GDScriptFunction);
debug_stack = EngineDebugger::is_active();