Fixed:Optional Card

This commit is contained in:
rubenpirreram
2026-05-17 17:42:36 +02:00
parent bd2d70e0a9
commit 0c1fc8ab98
@@ -749,6 +749,10 @@ public class Game implements Serializable {
for (Player p :playersList) { for (Player p :playersList) {
long count = p.buildingCards.stream().filter(x -> x.getEffectId() == 12).count(); long count = p.buildingCards.stream().filter(x -> x.getEffectId() == 12).count();
if (count > 0) { if (count > 0) {
if(disconnetedPlayers.containsKey(p)&& disconnetedPlayers.get(p))
{
continue;
}
OptionalCardQueue.add(p); OptionalCardQueue.add(p);
} }
} }