mirror of
https://github.com/godotengine/godot.git
synced 2025-10-25 18:54:43 +00:00
Mono: Fix hot-reloading of nested classes
This commit is contained in:
parent
825a89d0da
commit
e0a001549e
3 changed files with 21 additions and 6 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue