Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
stephtelolahy committed Jun 24, 2024
1 parent 9774405 commit 4cfcf91
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ private extension GameAction {
ActionHandicap(player: player, card: card, target: target)

case .heal:
ActionDoNothing()
ActionIdentity()

case .damage:
ActionDoNothing()
ActionIdentity()

case let .discardHand(card, player),
let .discardPlayed(card, player):
Expand Down Expand Up @@ -116,7 +116,7 @@ private extension GameAction {
}

@available(*, deprecated, message: "cleanup")
private struct ActionDoNothing: GameActionReducer {
private struct ActionIdentity: GameActionReducer {
func reduce(state: GameState) throws -> GameState {
state
}
Expand Down

0 comments on commit 4cfcf91

Please sign in to comment.