Skip to content

Commit

Permalink
fix tiles dialog on game end
Browse files Browse the repository at this point in the history
  • Loading branch information
farin committed Feb 20, 2021
1 parent edf2b70 commit a671216
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default {
tiles.sort(this.$tiles.sortByEdge)
const actionItem = this.action?.items[0]
const drawnId = actionItem.type === 'TilePlacement' ? actionItem.tileId : null
const drawnId = actionItem?.type === 'TilePlacement' ? actionItem.tileId : null
const placedTiles = countBy(this.placedTiles, 'id')
return tiles.map(t => {
Expand Down

0 comments on commit a671216

Please sign in to comment.