From 8fad1b60df70e82bb3c6303e9a4f1e4143e2333d Mon Sep 17 00:00:00 2001 From: Tiger Jove Date: Sat, 13 Dec 2025 12:56:02 +0100 Subject: [PATCH] fix: savegame parsing failure no longer crashes. --- src/dev-util/savegame.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dev-util/savegame.gd b/src/dev-util/savegame.gd index 121459c..9946fc6 100644 --- a/src/dev-util/savegame.gd +++ b/src/dev-util/savegame.gd @@ -221,7 +221,8 @@ func validate_board_state() -> bool: push_error("Save %s could not be parsed: Corrupted Cards." % unique_save_name) return false for sticky in board_state.stickies.values(): - if not (sticky is int or sticky is Vector2 or board_state.cards.keys().has(sticky)): + print("Sticky:", sticky) + if not (sticky is int or sticky is Vector2 or sticky is float or board_state.cards.keys().has(sticky)): push_error("Save %s could not be parsed: Corrupted Sticky Notes.") return false return true