Skip to content

Commit

Permalink
Merge pull request #512 from schlawg/blindfold-msgs
Browse files Browse the repository at this point in the history
forward em
  • Loading branch information
ornicar authored Jan 6, 2024
2 parents 3313b10 + 6d67ef0 commit ab2048d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/scala/ipc/ClientOut.scala
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,9 @@ object ClientOut:
case "flag" => o str "d" flatMap Color.fromName map RoundFlag.apply
case "bye2" => Some(RoundBye)
case "palantirPing" => Some(PalantirPing)
case "moretime" | "rematch-yes" | "rematch-no" | "takeback-yes" | "takeback-no" | "draw-yes" |
"draw-no" | "draw-claim" | "resign" | "resign-force" | "draw-force" | "abort" | "outoftime" =>
case "blindfold-yes" | "blindfold-no" | "moretime" | "rematch-yes" | "rematch-no" |
"takeback-yes" | "takeback-no" | "draw-yes" | "draw-no" | "draw-claim" | "resign" |
"resign-force" | "draw-force" | "abort" | "outoftime" =>
Some(RoundPlayerForward(o))
// chat
case "talk" => o str "d" map { ChatSay.apply }
Expand Down

0 comments on commit ab2048d

Please sign in to comment.