Merge pull request #3068 from phyzical/hotfix/2902

Fix for work in progress modal when augmenting
This commit is contained in:
hydroflame
2022-03-10 21:41:48 -05:00
committed by GitHub
2 changed files with 14 additions and 0 deletions

View File

@@ -933,6 +933,8 @@ export function startFactionSecurityWork(this: IPlayer, faction: Faction): void
export function workForFaction(this: IPlayer, numCycles: number): boolean {
const faction = Factions[this.currentWorkFactionName];
if (!faction) { return false; }
//Constantly update the rep gain rate
switch (this.factionWorkType) {
case CONSTANTS.FactionWorkHacking: