mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
#1522 Adressed and Corrected.
This commit is contained in:
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")) {
|
||||
return Crimes.Shoplift;
|
||||
} else if (roughName.includes("rob") && roughName.includes("store")) {
|
||||
|
Loading…
Reference in New Issue
Block a user