Fix player state

This commit is contained in:
Christoph Hagen 2021-12-25 16:55:54 +01:00
parent f040ad5a0c
commit f10c3dc8c9

View File

@ -163,6 +163,7 @@ final class PlayingPlayer: CardHoldingPlayer {
} }
override var states: [PlayerState] { override var states: [PlayerState] {
var states = super.states
if didPlayCalledAce { if didPlayCalledAce {
states.append(.isCalled) states.append(.isCalled)
} }