preparation for v2 launch

This commit is contained in:
Olivier Gagnon
2022-07-26 15:09:11 -04:00
parent 214b2645ad
commit e6d14eff68
7 changed files with 276 additions and 5 deletions
+2
View File
@@ -291,7 +291,9 @@ const Engine: {
const offlineHackingIncome = (Player.moneySourceA.hacking / Player.playtimeSinceLastAug) * timeOffline * 0.75;
Player.gainMoney(offlineHackingIncome, "hacking");
// Process offline progress
loadAllRunningScripts(Player); // This also takes care of offline production for those scripts
if (Player.currentWork !== null) {
Player.focus = true;
Player.processWork(numCyclesOffline);