Browse Source

Small Updates

Lauren Green 6 years ago
parent
commit
31ce2bd649
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/java/io/zipcoder/casino/Yahtzee.java

+ 1
- 1
src/main/java/io/zipcoder/casino/Yahtzee.java View File

174
 
174
 
175
     @Override
175
     @Override
176
     public void bet(int betAmount) {
176
     public void bet(int betAmount) {
177
-        dicePlayer.getPlayer().changeBalance(betAmount);
177
+        dicePlayer.getPlayer().changeBalance(betAmount * -1);
178
     }
178
     }
179
 
179
 
180
     @Override
180
     @Override