summaryrefslogtreecommitdiff
path: root/modules/mono/csharp_script.cpp
diff options
context:
space:
mode:
authorIgnacio Roldán Etcheverry <neikeq@users.noreply.github.com>2020-05-09 19:40:40 +0200
committerGitHub <noreply@github.com>2020-05-09 19:40:40 +0200
commit5a1077008a7b5eec0f95f7a2d05ac8027b9ec8c3 (patch)
treeedcf9aaf39058c719db3b73f45bb4020360a7ce8 /modules/mono/csharp_script.cpp
parent825a89d0dad7e69eabd5c431273e88a1ee74a75d (diff)
parente0a001549ee9059f11c96c5c2266422dc12ef66a (diff)
Merge pull request #38595 from neikeq/fix-nested-class-hotreload-mono
Mono: Fix hot-reloading of nested classes
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r--modules/mono/csharp_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index f5911275c9..6c1c8b87ef 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -850,7 +850,7 @@ void CSharpLanguage::reload_assemblies(bool p_soft_reload) {
to_reload.push_back(script);
if (script->get_path().empty()) {
- script->tied_class_name_for_reload = script->script_class->get_name();
+ script->tied_class_name_for_reload = script->script_class->get_name_for_lookup();
script->tied_class_namespace_for_reload = script->script_class->get_namespace();
}