Skip to content

Commit

Permalink
Disable switch to Sell after buying stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
murlock committed Aug 8, 2023
1 parent 64b9828 commit cbe63a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/DCourt/Screens/Template/Smith.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,13 @@ void buyWeapon(itArms it) {
if (cost <= Screen.getMoney()) {
Screen.subMoney(cost);
Screen.getPack().insert(it.copy());
/* don't switch to Sell list after buy
setMode(1);
*/
shopList(it);
}
}

e
void sellWeapon(itArms it) {
int cost = packValue(it);
Screen.subPack(it);
Expand Down

0 comments on commit cbe63a2

Please sign in to comment.