hotfix farming rep and hacking mission or infiltrations

This commit is contained in:
Olivier Gagnon 2021-05-31 23:58:34 -04:00
parent cf67213c36
commit a1e0d40963
5 changed files with 5 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -178,6 +178,7 @@ export class FactionRoot extends React.Component<IProps, IState> {
startHackingMission(): void {
const fac = this.props.faction;
this.props.p.singularityStopWork();
this.props.engine.loadMissionContent();
this.props.startHackingMissionFn(fac);
}

@ -198,6 +198,7 @@ export class CompanyLocation extends React.Component<IProps, IState> {
const data = loc.infiltrationData;
if (data == null) { return; }
this.props.p.singularityStopWork();
beginInfiltration(this.props.locName, data.startingSecurityLevel, data.baseRewardValue, data.maxClearanceLevel, data.difficulty);
}

@ -156,6 +156,7 @@ export interface IPlayer {
regenerateHp(amt: number): void;
recordMoneySource(amt: number, source: string): void;
setMoney(amt: number): void;
singularityStopWork(): void;
startBladeburner(p: any): void;
startClass(costMult: number, expMult: number, className: string): void;
startCorporation(corpName: string, additionalShares?: number): void;