From a30bafb493547465ef5755e0363e67c6e89e7b5d Mon Sep 17 00:00:00 2001 From: Courier Date: Tue, 13 Oct 2026 19:55:43 +0000 Subject: [PATCH] chore(game-state): remove dead save_supported flag (issue #415) --- scripts/game_state.gd | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/game_state.gd b/scripts/game_state.gd index 4709e5c..3fae9cb 100644 --- a/scripts/game_state.gd +++ b/scripts/game_state.gd @@ -19,7 +19,6 @@ const MAX_BACKUPS := 5 # sizes are kept only for historical save compatibility. const _LEGACY_GRID_SIZES: Array = [25, 36, 64, 100, 150] -var save_supported := false var use_local_storage := false # Function-pointer hook for the localStorage read path. Defaults to @@ -73,7 +72,6 @@ var _os_has_feature_hook: Callable = Callable(self, "_os_has_feature_default") var _backup_counter := 0 func _ready() -> void: - save_supported = true if _os_has_feature_hook.call("web"): use_local_storage = JavaScriptBridge.eval("typeof localStorage !== 'undefined'", true)