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