summaryrefslogtreecommitdiffstats
path: root/modules/mono
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-16 13:34:34 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-16 13:34:34 +0200
commit8ebfd89359d92ae3e785dcc802c831d66b3259e5 (patch)
treeb69c19f901bf8daa3c9587624dcbc810806aba23 /modules/mono
parent9fd431f078d7560835da2642c9efe9e235618fe9 (diff)
parent8835f326b1b8ae0727727fec93ddb1e871571f32 (diff)
downloadredot-engine-8ebfd89359d92ae3e785dcc802c831d66b3259e5.tar.gz
Merge pull request #96024 from Ryan-000/expose_get_rpc_config
Expose `get_rpc_config` and `get_node_rpc_config`
Diffstat (limited to 'modules/mono')
-rw-r--r--modules/mono/csharp_script.cpp2
-rw-r--r--modules/mono/csharp_script.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index 5d59c33636..f47e6d209a 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -2717,7 +2717,7 @@ int CSharpScript::get_member_line(const StringName &p_member) const {
return -1;
}
-const Variant CSharpScript::get_rpc_config() const {
+Variant CSharpScript::get_rpc_config() const {
return rpc_config;
}
diff --git a/modules/mono/csharp_script.h b/modules/mono/csharp_script.h
index c48e1a95c9..ec7328be4a 100644
--- a/modules/mono/csharp_script.h
+++ b/modules/mono/csharp_script.h
@@ -284,7 +284,7 @@ public:
int get_member_line(const StringName &p_member) const override;
- const Variant get_rpc_config() const override;
+ Variant get_rpc_config() const override;
#ifdef TOOLS_ENABLED
bool is_placeholder_fallback_enabled() const override {