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 7faa6e0a8f
commit 7d0c8a70ad
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: