Skip to content

Commit 26f6086

Browse files
Fixed movable fixed tiles in challenge mode
1 parent 7bd37b8 commit 26f6086

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/src/main/java/com/anachronistic/daniel/psakse/GameViewController.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ class GameViewController: AppCompatActivity() {
9696
val image = card.getFilename()
9797
val color = card.getColor()
9898
grid!!.buttonGrid[pos].setAttrs(image, color, 9, R.color.gameFBorder)
99+
grid!!.buttonGrid[pos].isEnabled = false
99100
grid!!.grid[pos] = card
100101
}
101102
deck!!.arr = deck!!.createDeckFromString(override!!.drop(12))
@@ -396,4 +397,4 @@ class GameViewController: AppCompatActivity() {
396397
}
397398
}
398399
}
399-
}
400+
}

0 commit comments

Comments
 (0)