Fixed shipwarfare
This commit is contained in:
@@ -239,7 +239,7 @@ public class ShipWarfareGUI extends Player {
|
|||||||
if (exitValue == 1) {
|
if (exitValue == 1) {
|
||||||
wipe();
|
wipe();
|
||||||
calculateLoot = logic.calculateLoot();
|
calculateLoot = logic.calculateLoot();
|
||||||
super.setMoney(logic.getMoney());
|
setMoney(calculateLoot+ getPlayer().getMoney());
|
||||||
report.setText(String.format("Our firm has earned $%,d in loot! ", calculateLoot));
|
report.setText(String.format("Our firm has earned $%,d in loot! ", calculateLoot));
|
||||||
continueButton.setVisible(true);
|
continueButton.setVisible(true);
|
||||||
completeWipe();
|
completeWipe();
|
||||||
|
|||||||
Reference in New Issue
Block a user