fix images of save files being saved by the editor

This commit is contained in:
betalars 2025-03-23 14:52:21 +01:00
parent b8a4978e4d
commit 3d6faa6b09
1 changed files with 1 additions and 2 deletions

View File

@ -11,10 +11,9 @@ class_name SaveGame extends Resource
@export var is_save_file_valid: bool = false
# FIXME: for some reason this does not prevent the property from being saved.
func _validate_property(property: Dictionary):
if property.name == "thumbnail":
property.usage != PROPERTY_USAGE_STORAGE
property.usage = not PROPERTY_USAGE_STORAGE
func _init(filepath = "") -> void: