Update source/joker_effects.c

Co-authored-by: MeirGavish <meir.gavish@gmail.com>
This commit is contained in:
noctowlhoot
2025-10-07 20:24:00 +10:30
committed by GitHub
parent b8a441f971
commit 0187b5f78e
+4 -7
View File
@@ -571,13 +571,10 @@ static JokerEffect shoot_the_moon_joker_effect(Joker *joker, Card *scored_card)
int hand_size = hand_get_size();
for (int i = 0; i < hand_size; i++ )
{
switch (hand[i]->card->rank) {
case QUEEN:
effect.mult += 13;
default:
break;
}
if (hand[i]->card->rank == QUEEN)
{
effect.mult += 13;
}
}
return effect;