From e2bdf3e23bf4ccadfc5cd679b8794ca761c982cd Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Sat, 3 Feb 2024 13:42:56 -0600 Subject: [PATCH] fix cuffs --- game/game.go | 2 -- game/item.go | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/game/game.go b/game/game.go index 8f90495..fa9229c 100644 --- a/game/game.go +++ b/game/game.go @@ -11,7 +11,6 @@ package game import ( "errors" - "log/slog" "git.sunturtle.xyz/studio/shotgun/player" "git.sunturtle.xyz/studio/shotgun/serve" @@ -95,7 +94,6 @@ func (g *Match) NextTurn() { g.reveal = false cur := g.CurrentPlayer() skip := cur.cuffs == CuffedSkip - slog.Info("next turn", "skip", skip, "cuffs", cur.cuffs) cur.cuffs = cur.cuffs.NextState() if skip { g.NextTurn() diff --git a/game/item.go b/game/item.go index becd103..7787af1 100644 --- a/game/item.go +++ b/game/item.go @@ -46,7 +46,7 @@ func (i Item) Apply(g *Match) bool { return false } g.action = actCuff - opp.cuffs = Cuffed + opp.cuffs = CuffedSkip return true case ItemKnife: if g.damage != 1 {