mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-08 00:27:47 +02:00
@@ -94,7 +94,7 @@ export class Sleeve extends Person implements ISleeve {
|
||||
}
|
||||
|
||||
/** Commit crimes */
|
||||
commitCrime(type: CrimeType): boolean {
|
||||
commitCrime(type: CrimeType) {
|
||||
this.startWork(new SleeveCrimeWork(type));
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -46,8 +46,7 @@ export function SleeveElem(props: IProps): React.ReactElement {
|
||||
props.sleeve.workForFaction(abc[1], abc[2]);
|
||||
break;
|
||||
case "Commit Crime":
|
||||
const crimeType = findCrime(abc[1])?.type ?? CrimeType.SHOPLIFT;
|
||||
props.sleeve.commitCrime(crimeType);
|
||||
props.sleeve.commitCrime(findCrime(abc[1])?.type ?? CrimeType.SHOPLIFT);
|
||||
break;
|
||||
case "Take University Course":
|
||||
props.sleeve.takeUniversityCourse(abc[2], abc[1]);
|
||||
|
||||
Reference in New Issue
Block a user