|
|
@ -41,9 +41,9 @@ func set_save_date() -> void: |
|
|
|
|
|
|
|
func set_save_icon() -> void: |
|
|
|
var _icon_texture: Texture2D = ImageTexture.new() |
|
|
|
if save_file_details.save_icon != null and !FileAccess.file_exists(save_file_details.save_icon): |
|
|
|
if save_file_details.save_icon != "" and !FileAccess.file_exists(save_file_details.save_icon): |
|
|
|
return |
|
|
|
elif save_file_details.save_icon == null: |
|
|
|
elif save_file_details.save_icon == "": |
|
|
|
_icon_texture = default_save_icon_resource |
|
|
|
else: |
|
|
|
var _icon_image: Image = Image.new() |
|
|
|