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
@@ -60,7 +60,7 @@ export function buyDarkwebItem(itemName: string): void {
}
// buy and push
Player.loseMoney(item.price);
Player.loseMoney(item.price, "other");
Player.getHomeComputer().programs.push(item.program);
Terminal.print(
"You have purchased the " + item.program + " program. The new program can be found on your home computer.",