Merge pull request #1685 from skytos/offline-hacking-attribution

attribute offline hacking gains to hacking rather than hacknet
This commit is contained in:
hydroflame 2021-11-11 15:53:31 -05:00 committed by GitHub
commit 486e8a107f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -253,7 +253,7 @@ const Engine: {
let offlineReputation = 0;
const offlineHackingIncome = (Player.moneySourceA.hacking / Player.playtimeSinceLastAug) * timeOffline * 0.75;
Player.gainMoney(offlineHackingIncome, "hacknet");
Player.gainMoney(offlineHackingIncome, "hacking");
// Process offline progress
loadAllRunningScripts(); // This also takes care of offline production for those scripts
if (Player.isWorking) {