mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-03-30 23:12:30 +02:00
added early out for redundant assignment
This commit is contained in:
@ -184,6 +184,7 @@ export class OfficeSpace {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (jobCount == amount) return false;
|
||||||
if ((jobCount + unassignedCount) < amount) return false;
|
if ((jobCount + unassignedCount) < amount) return false;
|
||||||
|
|
||||||
for (let i = 0; i < this.employees.length; ++i) {
|
for (let i = 0; i < this.employees.length; ++i) {
|
||||||
|
Reference in New Issue
Block a user