1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-30 23:19:49 +00:00

Update OpenSave.gd

This commit is contained in:
Emmanouil Papadeas 2022-05-22 00:01:17 +03:00
parent 2ae7d638d4
commit 5e5925b8c6

View file

@ -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