mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Fix so proper zones revealed when activating targeted ability
This commit is contained in:
@@ -394,6 +394,17 @@ public class GuiDesktop implements IGuiBase {
|
||||
return FControl.instance.getObservedGame();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean openZone(ZoneType zoneType, Set<Player> players) {
|
||||
switch (zoneType) {
|
||||
case Battlefield:
|
||||
case Hand:
|
||||
return true; //don't actually need to open anything, but indicate that zone can be opened
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateZones(List<Pair<Player, ZoneType>> zonesToUpdate) {
|
||||
CMatchUI.SINGLETON_INSTANCE.updateZones(zonesToUpdate);
|
||||
|
||||
Reference in New Issue
Block a user