Commit 3ce3bacc authored by Colomban Wendling's avatar Colomban Wendling
Browse files

Don't check whether a NULL tile could be placed

parent 93bc4e79
......@@ -99,7 +99,7 @@ namespace OVCC
}
});
this.notify["current-tile"].connect (() => {
if (state == GameState.STARTED &&
if (state == GameState.STARTED && current_tile != null &&
! board.is_tile_placeable (current_tile)) {
unplaceable_tile (current_tile);
stack.pop ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment