Fixed:Optional Card
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user