mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Mono: Fix hot-reloading of nested classes
(cherry picked from commit e0a001549e
)
This commit is contained in:
parent
7cfbde19c9
commit
34132d2f67
3 changed files with 21 additions and 6 deletions
|
@ -795,7 +795,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