mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
Merge pull request #3204 from danielyxie/revert-3195-issue-3194
Revert "Fix #3194: include all division employees in small town achievement calc"
This commit is contained in:
commit
a88b7fbaa1
@ -460,12 +460,10 @@ export const achievements: IMap<Achievement> = {
|
|||||||
Condition: (): boolean => {
|
Condition: (): boolean => {
|
||||||
if (Player.corporation === null) return false;
|
if (Player.corporation === null) return false;
|
||||||
for (const d of Player.corporation.divisions) {
|
for (const d of Player.corporation.divisions) {
|
||||||
let employeeCount = 0;
|
|
||||||
for (const o of Object.values(d.offices)) {
|
for (const o of Object.values(d.offices)) {
|
||||||
if (o === 0) continue;
|
if (o === 0) continue;
|
||||||
employeeCount += o.employees.length;
|
if (o.employees.length >= 3000) return true;
|
||||||
}
|
}
|
||||||
if (employeeCount >= 3000) return true;
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user