Fix reset behavior for custom image nonograms
All checks were successful
Deploy to Production / deploy (push) Successful in 8s
All checks were successful
Deploy to Production / deploy (push) Successful in 8s
This commit is contained in:
@@ -376,7 +376,7 @@ export const usePuzzleStore = defineStore('puzzle', () => {
|
||||
}
|
||||
|
||||
function resetGame() {
|
||||
if (currentLevelId.value === 'custom') {
|
||||
if (currentLevelId.value === 'custom' || currentLevelId.value === 'custom_image') {
|
||||
resetGrid();
|
||||
isGameWon.value = false;
|
||||
hasUsedGuide.value = false;
|
||||
|
||||
Reference in New Issue
Block a user