From f10c3dc8c9216a6f4dccf05a8542dc28df6ec32a Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Sat, 25 Dec 2021 16:55:54 +0100 Subject: [PATCH] Fix player state --- Sources/App/Model/Players/PlayingPlayer.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/App/Model/Players/PlayingPlayer.swift b/Sources/App/Model/Players/PlayingPlayer.swift index e1e9bca..9ca947d 100644 --- a/Sources/App/Model/Players/PlayingPlayer.swift +++ b/Sources/App/Model/Players/PlayingPlayer.swift @@ -163,6 +163,7 @@ final class PlayingPlayer: CardHoldingPlayer { } override var states: [PlayerState] { + var states = super.states if didPlayCalledAce { states.append(.isCalled) }