()
| 1112 | return window.main_IPC.folder.active(null) |
| 1113 | }, |
| 1114 | launchGame() { |
| 1115 | const currentList = MA.byIdValue('collectionSelect') |
| 1116 | if ( currentList === window.state.flag.activeCollect ) { |
| 1117 | // Selected is active, no confirm |
| 1118 | LEDLib.spinLED() |
| 1119 | window.main_IPC.dispatch('game') |
| 1120 | } else { |
| 1121 | // Different, ask confirmation |
| 1122 | MA.byIdHTML('no_match_game_list', window.state.mapCollectionDropdown.get(window.state.flag.activeCollect)) |
| 1123 | MA.byIdHTML('no_match_ma_list', window.state.mapCollectionDropdown.get(currentList)) |
| 1124 | LEDLib.fastBlinkLED() |
| 1125 | window.state.modal.mismatch.show() |
| 1126 | } |
| 1127 | }, |
| 1128 | launchGame_FIX : () => { |
| 1129 | window.state.modal.mismatch.hide() |
| 1130 | window.state.action.collectActive().then(() => { |
no test coverage detected