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;