Fixing card draw having an inexplicable pause between cards

This commit is contained in:
Christian 'ketura' McCarty
2022-08-02 03:28:14 -05:00
parent 3d16d372f1
commit 709fe04d86

View File

@@ -120,7 +120,7 @@ public class GameCommunicationChannel implements GameStateListener, LongPollable
public void cardsRemoved(String playerPerforming, Collection<PhysicalCard> cards) {
Set<PhysicalCard> removedCardsVisibleByPlayer = new HashSet<PhysicalCard>();
for (PhysicalCard card : cards) {
if (card.getZone().isPublic() || (card.getZone().isVisibleByOwner() && card.getOwner().equals(_self) || playerPerforming != card.getOwner()))
if (card.getZone().isPublic() || (card.getZone().isVisibleByOwner() && card.getOwner().equals(_self)))
removedCardsVisibleByPlayer.add(card);
}
if (removedCardsVisibleByPlayer.size() > 0)