mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 20:25:45 +01:00
Merge pull request #4165 from Snarling/bladeburnerFix
SLEEVE: Can no longer use API to assign sleeves to bladeburner tasks before player is member
This commit is contained in:
commit
d010705c61
@ -424,6 +424,7 @@ export class Sleeve extends Person {
|
||||
* Begin a bladeburner task
|
||||
*/
|
||||
bladeburner(action: string, contract: string): boolean {
|
||||
if (!Player.bladeburner) return false;
|
||||
switch (action) {
|
||||
case "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 }));
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user