Skip to content

Commit 302a47e

Browse files
committed
Fixing getIHavePlayed logic
1 parent 280837f commit 302a47e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/caches/GameSlice.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ export const getIsDoublesGame = createSelector(
9393
export const getIsMyGo = createSelector(getGame, game => game.isMyGo)
9494
export const getIamGoer = createSelector(getGame, game => game.iamGoer)
9595
export const getIHavePlayed = createSelector(getGame, game => {
96-
if (game.iamGoer) return false
97-
9896
const myPosition = game.players.findIndex(p => p.id === game.me?.id)
9997
const currentPlayerPosition = game.players.findIndex(
10098
p => p.id === game.round?.currentHand.currentPlayerId,

0 commit comments

Comments
 (0)