diff --git a/game/addons/data_manager/panels/ResourcePanel.gd b/game/addons/data_manager/panels/ResourcePanel.gd index 66b0ba50..707e14a7 100644 --- a/game/addons/data_manager/panels/ResourcePanel.gd +++ b/game/addons/data_manager/panels/ResourcePanel.gd @@ -42,6 +42,9 @@ func _ready(): _delete_popup = get_node(delete_popup_path) func set_resource_type(folder : String, resource_type : String) -> void: + if !folder.ends_with("/"): + folder += "/" + if folder == _folder and _resource_type == resource_type: return