two missing ( is better than one...
This commit is contained in:
zeddrak 2022-01-28 10:00:28 -08:00 committed by GitHub
parent dc8b051bde
commit 33ed170e29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,7 +34,7 @@ export function findCrime(roughName: string): Crime | null {
roughName = roughName.toLowerCase(); roughName = roughName.toLowerCase();
if (roughName.includes("shoplift")) { if (roughName.includes("shoplift")) {
return Crimes.Shoplift; return Crimes.Shoplift;
} else if (roughName.includes("rob") && roughName.includes("store")) { } else if ((roughName.includes("rob") && roughName.includes("store")) {
return Crimes.RobStore; return Crimes.RobStore;
} else if (roughName.includes("mug")) { } else if (roughName.includes("mug")) {
return Crimes.Mug; return Crimes.Mug;
@ -44,7 +44,7 @@ export function findCrime(roughName: string): Crime | null {
return Crimes.DealDrugs; return Crimes.DealDrugs;
} else if ((roughName.includes("bond") && roughName.includes("forge")) { } else if ((roughName.includes("bond") && roughName.includes("forge")) {
return Crimes.BondForgery; 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; return Crimes.TraffickArms;
} else if (roughName.includes("homicide")) { } else if (roughName.includes("homicide")) {
return Crimes.Homicide; return Crimes.Homicide;