mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Fix so duplicate cards accounted for in symbol count
This commit is contained in:
@@ -162,38 +162,38 @@ public class AddBasicLandsDialog extends FDialog {
|
|||||||
boolean isMonoColor = shard.isMonoColor();
|
boolean isMonoColor = shard.isMonoColor();
|
||||||
if (shard.isWhite()) {
|
if (shard.isWhite()) {
|
||||||
if (isMonoColor) {
|
if (isMonoColor) {
|
||||||
pnlPlains.symbolCount++;
|
pnlPlains.symbolCount += count;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
halfCountW++;
|
halfCountW += count;
|
||||||
}
|
}
|
||||||
if (shard.isBlue()) {
|
if (shard.isBlue()) {
|
||||||
if (isMonoColor) {
|
if (isMonoColor) {
|
||||||
pnlIsland.symbolCount++;
|
pnlIsland.symbolCount += count;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
halfCountU++;
|
halfCountU += count;
|
||||||
}
|
}
|
||||||
if (shard.isBlack()) {
|
if (shard.isBlack()) {
|
||||||
if (isMonoColor) {
|
if (isMonoColor) {
|
||||||
pnlSwamp.symbolCount++;
|
pnlSwamp.symbolCount += count;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
halfCountB++;
|
halfCountB += count;
|
||||||
}
|
}
|
||||||
if (shard.isRed()) {
|
if (shard.isRed()) {
|
||||||
if (isMonoColor) {
|
if (isMonoColor) {
|
||||||
pnlMountain.symbolCount++;
|
pnlMountain.symbolCount += count;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
halfCountR++;
|
halfCountR += count;
|
||||||
}
|
}
|
||||||
if (shard.isGreen()) {
|
if (shard.isGreen()) {
|
||||||
if (isMonoColor) {
|
if (isMonoColor) {
|
||||||
pnlForest.symbolCount++;
|
pnlForest.symbolCount += count;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
halfCountG++;
|
halfCountG += count;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user