From deecfdea08741c1b3b062b620f322d5a667645ff Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Fri, 13 Mar 2020 04:04:46 +0100 Subject: [PATCH] Fix board placement bug --- board.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board.c b/board.c index 6d4cbc5..fa3c0b4 100644 --- a/board.c +++ b/board.c @@ -552,14 +552,14 @@ board_place ( board_unmark (board, target_x, target_y, value); } + /* Set value */ + board_set (board, x, y, value); + /* Update metadata */ meta_set_value (BOARD_QUAD (board, x, y), value); meta_set_value (BOARD_ROW (board, y), value); meta_set_value (BOARD_COL (board, x), value); - /* Set value */ - board_set (board, x, y, value); - return true; } else return false;