mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 18:13:52 +01:00
more fix
two missing ( is better than one...
This commit is contained in:
parent
dc8b051bde
commit
33ed170e29
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user