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

View File

@ -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) {