From b8319dd2f808dc1930bdac32dab63caf863deae9 Mon Sep 17 00:00:00 2001 From: 1jamie Date: Sat, 3 Oct 2026 16:05:29 -0500 Subject: [PATCH] fix(ui): declare applied as local in TouchControlsEditor --- src/ui/TouchControlsEditor.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/TouchControlsEditor.lua b/src/ui/TouchControlsEditor.lua index b94682f6..6a2ecd2f 100644 --- a/src/ui/TouchControlsEditor.lua +++ b/src/ui/TouchControlsEditor.lua @@ -75,6 +75,7 @@ function Editor.load(opts) local GameVersion = require("src.core.GameVersion") local gen = GameVersion.VERSIONS[opts.version] and GameVersion.generation(opts.version) or 1 + local applied if gen == 2 then local gold = type(optsTbl.gold) == "table" and optsTbl.gold or {} local hotbar = gold.hotbar