From 33ed170e297e279b09eb8f858c701c6e6170fc49 Mon Sep 17 00:00:00 2001 From: zeddrak <57454318+zeddrak@users.noreply.github.com> Date: Fri, 28 Jan 2022 10:00:28 -0800 Subject: [PATCH] more fix two missing ( is better than one... --- src/Crime/CrimeHelpers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Crime/CrimeHelpers.ts b/src/Crime/CrimeHelpers.ts index dfcc32c6c..209f8ee2c 100644 --- a/src/Crime/CrimeHelpers.ts +++ b/src/Crime/CrimeHelpers.ts @@ -34,7 +34,7 @@ export function findCrime(roughName: string): Crime | null { roughName = roughName.toLowerCase(); if (roughName.includes("shoplift")) { return Crimes.Shoplift; - } else if (roughName.includes("rob") && roughName.includes("store")) { + } else if ((roughName.includes("rob") && roughName.includes("store")) { return Crimes.RobStore; } else if (roughName.includes("mug")) { return Crimes.Mug; @@ -44,7 +44,7 @@ export function findCrime(roughName: string): Crime | null { return Crimes.DealDrugs; } else if ((roughName.includes("bond") && roughName.includes("forge")) { return Crimes.BondForgery; - } else if ((roughName.includes("traffic") || (roughName.includes("illegal")) && roughName.includes("arms")) { + } else if (((roughName.includes("traffic") || (roughName.includes("illegal")) && roughName.includes("arms")) { return Crimes.TraffickArms; } else if (roughName.includes("homicide")) { return Crimes.Homicide;