CORPORATION: Use accounting methods for all funds transactions (#949)

This commit is contained in:
Jesse Clark
2023-12-07 18:22:21 -08:00
committed by GitHub
parent b114fb9eed
commit 902306530c
12 changed files with 93 additions and 64 deletions

View File

@@ -479,7 +479,7 @@ export function purchaseHashUpgrade(upgName: string, upgTarget: string, count =
Player.hashManager.refundUpgrade(upgName, count);
return false;
}
corp.addNonIncomeFunds(upg.value * count);
corp.gainFunds(upg.value * count, "hacknet");
break;
}
case "Reduce Minimum Security": {