Fix card select issue

This commit is contained in:
Felix Koppe
2024-12-06 09:51:17 +01:00
parent 26836d16cc
commit 0237bcc4be
2 changed files with 4 additions and 3 deletions

View File

@@ -130,9 +130,9 @@ public void selectCard(CardControl cardControl) {
} }
cardControl.select(); cardControl.select();
cardSelect = getKeyByValue(bonusCardControlMap, cardControl); cardSelect = getKeyByValue(bonusCardControlMap, cardControl);
app.getModelSynchronize().selectCard(cardSelect);
} }
app.getModelSynchronize().selectCard(cardSelect);
} }
public Camera getCardLayerCamera() { public Camera getCardLayerCamera() {

View File

@@ -70,6 +70,7 @@ public void onLeave() {
confirmButton.hide(); confirmButton.hide();
noPowerButton.hide();
app.getViewPort().removeProcessor(fpp); app.getViewPort().removeProcessor(fpp);
} }
@@ -124,7 +125,7 @@ public void noConfirm() {
public void needNoPower() { public void needNoPower() {
confirmButton.hide(); confirmButton.hide();
noPowerButton.hide(); noPowerButton.show();
} }
public void noNoPower() { public void noNoPower() {