Browse Source

Fix MouseInput GeberStack

feature_solitaer_Bugfix
Alexander Hartung 3 years ago
parent
commit
788cf4762f
  1. 5
      src/main/java/solitaer/MyMouseListener.java

5
src/main/java/solitaer/MyMouseListener.java

@ -118,6 +118,11 @@ public class MyMouseListener implements MouseInputListener {
} else {
tempStack = (GeberStack) com.getParent();
}
if(this.saveStack.stackIsEmpty() == false) {
clearSaveStack(selectedStack);
}
if (tempStack.stackIsEmpty()) {
// Move all from Waste to Geber
((GeberStack) this.tempStack).swapWasteGeber();

Loading…
Cancel
Save