refactor CardAreaPanel.resetForNewGame

fix issue ##1367
This commit is contained in:
Anthony Calosa
2020-04-26 16:44:32 +08:00
parent 8122589842
commit 45a5e76e63

View File

@@ -493,9 +493,9 @@ public class MatchScreen extends FScreen {
}
public void resetFields() {
CardAreaPanel.resetForNewGame();
for (VPlayerPanel playerPanel : getPlayerPanels().values()) {
for (CardAreaPanel p : playerPanel.getField().getCardPanels()){
p.resetForNewGame();
p.reset();
}
playerPanel.getZoneTab(ZoneType.Hand).getDisplayArea().clear();