From 4fd70b91a3ad624d6c546671195dd876d8a3db06 Mon Sep 17 00:00:00 2001 From: meikpiep Date: Wed, 2 Aug 2023 21:32:41 +0200 Subject: [PATCH] Fixes bug where the a 'clear cell' does not delete the possible numbers --- holoken-core/src/main/kotlin/com/holokenmod/game/Game.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/holoken-core/src/main/kotlin/com/holokenmod/game/Game.kt b/holoken-core/src/main/kotlin/com/holokenmod/game/Game.kt index 1ba2df59..ca12758b 100644 --- a/holoken-core/src/main/kotlin/com/holokenmod/game/Game.kt +++ b/holoken-core/src/main/kotlin/com/holokenmod/game/Game.kt @@ -114,6 +114,7 @@ data class Game( clearLastModified() undoManager.saveUndo(selectedCell, false) selectedCell.clearUserValue() + selectedCell.clearPossibles() grid.userValueChanged() } }