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