mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Update OpenSave.gd
This commit is contained in:
parent
2ae7d638d4
commit
5e5925b8c6
|
@ -41,7 +41,7 @@ func handle_loading_files(files: PoolStringArray) -> void:
|
||||||
elif file_ext in ["pck", "zip"]: # Godot resource pack file
|
elif file_ext in ["pck", "zip"]: # Godot resource pack file
|
||||||
Global.preferences_dialog.extensions.install_extension(file)
|
Global.preferences_dialog.extensions.install_extension(file)
|
||||||
|
|
||||||
elif file_ext == "shader": # Godot shader file
|
elif file_ext == "shader" or file_ext == "gdshader": # Godot shader file
|
||||||
var shader = load(file)
|
var shader = load(file)
|
||||||
if !shader is Shader:
|
if !shader is Shader:
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue