1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Mono: Fix hot-reloading of nested classes

This commit is contained in:
Ignacio Etcheverry
2020-05-09 17:11:35 +02:00
parent 825a89d0da
commit e0a001549e
3 changed files with 21 additions and 6 deletions

View File

@@ -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();
}