From a2fae480f3f378c8ba510d8a2e9d2181d1d894ec Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 8 Mar 2022 17:32:03 +0800 Subject: [PATCH] Update src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx --- src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx b/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx index df0d03308..c08b4c75f 100644 --- a/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx +++ b/src/PersonObjects/Player/PlayerObjectGeneralMethods.tsx @@ -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) {