summaryrefslogtreecommitdiff
path: root/modules/mono
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-10 18:33:18 +0100
committerGitHub <noreply@github.com>2021-11-10 18:33:18 +0100
commitd209369fa310cbaf6968f36b9864aa43ae80abe3 (patch)
tree8c389d74952af31cec590ac8b87101535685e42a /modules/mono
parent35c4cad7adb41d0b034f1b47197d733575a5b5a9 (diff)
parenta9a45ee7ee551e931b8aed3b9f5cebbc82de14b0 (diff)
Merge pull request #54840 from Calinou/mono-move-exception-policy-setting
Diffstat (limited to 'modules/mono')
-rw-r--r--modules/mono/mono_gd/gd_mono.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/mono_gd/gd_mono.cpp b/modules/mono/mono_gd/gd_mono.cpp
index f3e83b26b9..52447bc59b 100644
--- a/modules/mono/mono_gd/gd_mono.cpp
+++ b/modules/mono/mono_gd/gd_mono.cpp
@@ -504,7 +504,7 @@ void GDMono::_init_godot_api_hashes() {
}
void GDMono::_init_exception_policy() {
- PropertyInfo exc_policy_prop = PropertyInfo(Variant::INT, "mono/unhandled_exception_policy", PROPERTY_HINT_ENUM,
+ PropertyInfo exc_policy_prop = PropertyInfo(Variant::INT, "mono/runtime/unhandled_exception_policy", PROPERTY_HINT_ENUM,
vformat("Terminate Application:%s,Log Error:%s", (int)POLICY_TERMINATE_APP, (int)POLICY_LOG_ERROR));
unhandled_exception_policy = (UnhandledExceptionPolicy)(int)GLOBAL_DEF(exc_policy_prop.name, (int)POLICY_TERMINATE_APP);
ProjectSettings::get_singleton()->set_custom_property_info(exc_policy_prop.name, exc_policy_prop);