diff --git a/common/src/main/java/dev/lucasnlm/antimine/common/level/viewmodel/GameViewModel.kt b/common/src/main/java/dev/lucasnlm/antimine/common/level/viewmodel/GameViewModel.kt index 9c965ae8..4303a403 100644 --- a/common/src/main/java/dev/lucasnlm/antimine/common/level/viewmodel/GameViewModel.kt +++ b/common/src/main/java/dev/lucasnlm/antimine/common/level/viewmodel/GameViewModel.kt @@ -202,7 +202,7 @@ class GameViewModel( refreshIndex(id) } hapticFeedbackInteractor.toggleFlagFeedback() - } else if (!preferencesRepository.useDoubleClickToOpen()) { + } else if (!preferencesRepository.useDoubleClickToOpen() || !levelFacade.hasMines) { if (!levelFacade.hasMines) { levelFacade.plantMinesExcept(index, true) }