From bc8b61bb069a9229dbceb61fedb8308c5d1e6a68 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Tue, 22 Jan 2019 18:33:36 +0100 Subject: Mono: Fix hot reload build errors and cleanup --- modules/mono/csharp_script.cpp | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'modules/mono/csharp_script.cpp') diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 02220ab52f..0b21ba3347 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -607,7 +607,7 @@ struct CSharpScriptDepSort { void CSharpLanguage::reload_all_scripts() { -#ifdef DEBUG_ENABLED +#ifdef GD_MONO_HOT_RELOAD if (is_assembly_reloading_needed()) { reload_assemblies(false); } @@ -618,15 +618,20 @@ void CSharpLanguage::reload_tool_script(const Ref