修复困难bug

This commit is contained in:
unanmed 2023-04-21 23:17:03 +08:00
parent b0086f8dfb
commit 2d8f4ebe7c

View File

@ -131,7 +131,7 @@ async function clickStartButton(id: string) {
if (id === 'easy' || id === 'hard-hard') {
start.style.opacity = '0';
await sleep(600);
core.startGame(id);
core.startGame(id === 'easy' ? 'easy' : 'hard');
}
if (id === 'load-game') {
core.dom.gameGroup.style.display = 'block';