Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions scripts/game_state.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)

Expand Down
Loading