mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
Sleeve bladeburner fix
This commit is contained in:
parent
be553f3548
commit
a4b7128e6c
@ -424,6 +424,7 @@ export class Sleeve extends Person {
|
|||||||
* Begin a bladeburner task
|
* Begin a bladeburner task
|
||||||
*/
|
*/
|
||||||
bladeburner(action: string, contract: string): boolean {
|
bladeburner(action: string, contract: string): boolean {
|
||||||
|
if (!Player.bladeburner) return false;
|
||||||
switch (action) {
|
switch (action) {
|
||||||
case "Field analysis":
|
case "Field analysis":
|
||||||
this.startWork(new SleeveBladeburnerWork({ type: "General", name: "Field Analysis" }));
|
this.startWork(new SleeveBladeburnerWork({ type: "General", name: "Field Analysis" }));
|
||||||
@ -448,7 +449,6 @@ export class Sleeve extends Person {
|
|||||||
this.startWork(new SleeveBladeburnerWork({ type: "Contracts", name: contract }));
|
this.startWork(new SleeveBladeburnerWork({ type: "Contracts", name: contract }));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user