I have made an function for shuffling a deck of cards and dealing them. I'm trying to deal a poker hand to 4 players (a hand consisting of two cards each). I have this as my events:
*note: I was repeating three times for testing purposes, it should be 2
However, this only deals one card, or at least one visible card to each player, as shown:
Why are two overlapping cards not being dealt to each player?