diff --git a/src/ui/ui.js b/src/ui/ui.js index 8b940fb..2e5b5b3 100644 --- a/src/ui/ui.js +++ b/src/ui/ui.js @@ -1043,7 +1043,7 @@ var UI = (() => { break; case preset.tempTwin: presetName = `T_${p}`; - if (!presetName in UI.presets) { + if (!(presetName in UI.presets)) { presetName = p; } break;