Update src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx

This commit is contained in:
Jack 2022-03-08 17:32:03 +08:00 committed by GitHub
parent d4f5f54fb6
commit a2fae480f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -933,7 +933,7 @@ 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
if (!faction) { return false; }
//Constantly update the rep gain rate
switch (this.factionWorkType) {