You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix script properties reload from external editor
This commit is contained in:
@@ -880,6 +880,11 @@ Error GDScript::reload(bool p_keep_state) {
|
||||
if (can_run && p_keep_state) {
|
||||
_restore_old_static_data();
|
||||
}
|
||||
|
||||
if (p_keep_state) {
|
||||
// Update the properties in the inspector.
|
||||
update_exports();
|
||||
}
|
||||
#endif
|
||||
|
||||
reloading = false;
|
||||
|
||||
Reference in New Issue
Block a user