fix(ui): declare applied as local in TouchControlsEditor

This commit is contained in:
1jamie
2026-10-03 16:05:29 -05:00
parent 15ec173e43
commit b8319dd2f8
+1
View File
@@ -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