Merge pull request #979 from danielyxie/dev

hotfix farming rep and hacking mission or infiltrations
This commit is contained in:
hydroflame 2021-05-31 23:58:53 -04:00 committed by GitHub
commit d627890047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;