diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-05 10:29:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-05 10:29:19 +0200 |
commit | 6e9cb44004b8bd30a5834d06671ccd1c62508bfe (patch) | |
tree | e3086f5a8a133dc0630e6f5e4b7065e174977df3 /modules/mono/signal_awaiter_utils.cpp | |
parent | a149e412f75e9eef87e8ff54e21402f90161f65b (diff) | |
parent | 0639946c72ba6632bc3b0953d64f644af328e5e6 (diff) |
Merge pull request #30282 from neikeq/editor_in_cs_equals_win
Re-write mono module editor code in C#
Diffstat (limited to 'modules/mono/signal_awaiter_utils.cpp')
-rw-r--r-- | modules/mono/signal_awaiter_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/signal_awaiter_utils.cpp b/modules/mono/signal_awaiter_utils.cpp index 0e1739b754..54d73c971f 100644 --- a/modules/mono/signal_awaiter_utils.cpp +++ b/modules/mono/signal_awaiter_utils.cpp @@ -91,7 +91,7 @@ Variant SignalAwaiterHandle::_signal_callback(const Variant **p_args, int p_argc set_completed(true); int signal_argc = p_argcount - 1; - MonoArray *signal_args = mono_array_new(SCRIPTS_DOMAIN, CACHED_CLASS_RAW(MonoObject), signal_argc); + MonoArray *signal_args = mono_array_new(mono_domain_get(), CACHED_CLASS_RAW(MonoObject), signal_argc); for (int i = 0; i < signal_argc; i++) { MonoObject *boxed = GDMonoMarshal::variant_to_mono_object(*p_args[i]); |