This commit is contained in:
Olivier Gagnon 2022-04-11 20:59:37 -04:00
parent 674f3b0c9f
commit 93e7083301

@ -58,7 +58,7 @@ export class OfficeSpace {
} }
} }
this.calculateTotalEmployees(corporation, industry); this.calculateTotalEmployees();
// Process Office properties // Process Office properties
this.maxEne = 100; this.maxEne = 100;
@ -113,7 +113,7 @@ export class OfficeSpace {
return salaryPaid; return salaryPaid;
} }
calculateTotalEmployees(corporation: ICorporation, industry: IIndustry): void { calculateTotalEmployees(): void {
//Reset //Reset
for (const name of Object.keys(this.employeeJobs)) { for (const name of Object.keys(this.employeeJobs)) {
this.employeeJobs[name] = 0; this.employeeJobs[name] = 0;