diff --git a/src/NetscriptFunctions/Sleeve.ts b/src/NetscriptFunctions/Sleeve.ts index 07b317499..787fbc547 100644 --- a/src/NetscriptFunctions/Sleeve.ts +++ b/src/NetscriptFunctions/Sleeve.ts @@ -333,9 +333,13 @@ export function NetscriptSleeve(player: IPlayer): InternalAPI { continue; } const other = player.sleeves[i]; - if (other.currentTask === SleeveTaskType.Bladeburner && other.bbAction === action) { + if ( + other.currentTask === SleeveTaskType.Bladeburner && + other.bbAction === action && + other.bbContract === contract + ) { throw ctx.helper.makeRuntimeErrorMsg( - `Sleeve ${sleeveNumber} cannot take of contracts because Sleeve ${i} is already performing that action.`, + `Sleeve ${sleeveNumber} cannot take on contracts because Sleeve ${i} is already performing that action.`, ); } }