From 2ed961c0d25e5f59fe18da29b9b08035e86a10c9 Mon Sep 17 00:00:00 2001 From: "tyasuh.taeragan@gmail.com" Date: Sat, 16 Oct 2021 23:09:35 -0400 Subject: [PATCH] #1522 Adressed and Corrected. --- src/Crime/CrimeHelpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Crime/CrimeHelpers.ts b/src/Crime/CrimeHelpers.ts index 9eb60e5d1..c7d0fa50b 100644 --- a/src/Crime/CrimeHelpers.ts +++ b/src/Crime/CrimeHelpers.ts @@ -30,7 +30,7 @@ export function determineCrimeSuccess(p: IPlayer, type: string): boolean { } } -export function findCrime(roughName: string): Crime | null { +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")) {