mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
Fix issue with missing foe blocking arcs for a foe that is targeted by friendly enchantment and arcs are set to "ON" (vs MOUSEOVER).
This commit is contained in:
@@ -470,11 +470,11 @@ public class TargetingOverlay {
|
|||||||
if (!attackingCard.equals(c) && !blockingCard.equals(c)) { continue; }
|
if (!attackingCard.equals(c) && !blockingCard.equals(c)) { continue; }
|
||||||
addArc(endpoints.get(attackingCard.getId()), endpoints.get(blockingCard.getId()), ArcConnection.FoesBlocking);
|
addArc(endpoints.get(attackingCard.getId()), endpoints.get(blockingCard.getId()), ArcConnection.FoesBlocking);
|
||||||
cardsVisualized.add(blockingCard);
|
cardsVisualized.add(blockingCard);
|
||||||
}
|
|
||||||
cardsVisualized.add(attackingCard);
|
cardsVisualized.add(attackingCard);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private class OverlayPanel extends SkinnedPanel {
|
private class OverlayPanel extends SkinnedPanel {
|
||||||
private final boolean useThrottling = FModel.getPreferences().getPrefBoolean(FPref.UI_TIMED_TARGETING_OVERLAY_UPDATES);
|
private final boolean useThrottling = FModel.getPreferences().getPrefBoolean(FPref.UI_TIMED_TARGETING_OVERLAY_UPDATES);
|
||||||
|
|||||||
Reference in New Issue
Block a user