track money more precisely.

This commit is contained in:
Olivier Gagnon
2021-10-27 14:18:33 -04:00
parent 9f6767062b
commit 48988e228e
38 changed files with 90 additions and 100 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ export function purchaseResleeve(r: Resleeve, p: IPlayer): boolean {
if (!p.canAfford(cost)) {
return false;
}
p.loseMoney(cost);
p.loseMoney(cost, "other");
// Set the player's exp
p.hacking_exp = r.hacking_exp;