Fix board placement bug

This commit is contained in:
Gabriel Tofvesson 2020-03-13 04:04:46 +01:00
parent 4a524fad72
commit deecfdea08

View File

@ -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;