mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Fix the resource pane. now it will properly show the folder entries.
This commit is contained in:
parent
9f1d06c7f8
commit
da9b6703c9
@ -42,6 +42,9 @@ func _ready():
|
|||||||
_delete_popup = get_node(delete_popup_path)
|
_delete_popup = get_node(delete_popup_path)
|
||||||
|
|
||||||
func set_resource_type(folder : String, resource_type : String) -> void:
|
func set_resource_type(folder : String, resource_type : String) -> void:
|
||||||
|
if !folder.ends_with("/"):
|
||||||
|
folder += "/"
|
||||||
|
|
||||||
if folder == _folder and _resource_type == resource_type:
|
if folder == _folder and _resource_type == resource_type:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user