Skip to content

[Bug]: Visual glitch on 7 scuttle animation: card in hand disappears then reappears #1324

@itsalaidbacklife

Description

@itsalaidbacklife

Bug Summary

When a player scuttles via a seven, one of the cards in their hand disappears, then reappears.

Detailed Description

This is because seven scuttle triggers game.js's processScuttle() function which doesn't have a separate case for sevenScuttle, and it looks up the played card in the player's hand even if the scuttle was done via a seven.

Current Behavior

The last card in the player who seven scuttled's hand disappears, then reappers

Expected Behavior

No cards in the player hand move when seven scuttling

Steps to Reproduce

  1. Play a seven while the opponent has points on the board
  2. Choose to scuttle one of their point cards

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions