Skip to content

Commit

Permalink
Fix committable treacheries
Browse files Browse the repository at this point in the history
  • Loading branch information
halogenandtoast committed Jan 24, 2025
1 parent 7806c9c commit 725b1b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
module Arkham.Treachery.Cards.PossessionTraitorous (
possessionTraitorous,
PossessionTraitorous (..),
) where
module Arkham.Treachery.Cards.PossessionTraitorous (possessionTraitorous) where

import Arkham.Card
import Arkham.Investigator.Types (Field (..))
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/arkham/components/Treachery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const choices = computed(() => ArkhamGame.choices(props.game, props.playerId))
function canInteract(c: Message): boolean {
if (c.tag === "TargetLabel") {
return c.target.contents === id.value || `c${id.value}` === c.target.contents
return c.target.contents === id.value || `c${id.value}` === c.target.contents || c.target.contents == props.treachery.cardId
}
return false
Expand Down

0 comments on commit 725b1b3

Please sign in to comment.