about summary refs log tree commit diff
path: root/sol.c
diff options
context:
space:
mode:
Diffstat (limited to 'sol.c')
-rw-r--r--sol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sol.c b/sol.c
index ceaa9cf..0a0740c 100644
--- a/sol.c
+++ b/sol.c
@@ -335,7 +335,7 @@ static bool mouseButtonDown(SDL_MouseButtonEvent button) {
 	struct Item *item = layoutFind(&point);
 	if (!item) return false;
 	if (!gameAvail(item->card)) return gameReveal(item->card);
-	if (button.clicks > 1) {
+	if (button.clicks % 2 == 0) {
 		for (uint dest = Foundation1; dest <= Foundation4; ++dest) {
 			if (gameMove(dest, item->card)) return true;
 		}