#1522 Adressed and Corrected.

This commit is contained in:
tyasuh.taeragan@gmail.com 2021-10-16 23:09:35 -04:00
parent 12f61677e3
commit 2ed961c0d2

@ -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")) { 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")) {