Skip to content

Commit

Permalink
fix counting
Browse files Browse the repository at this point in the history
  • Loading branch information
fedorovvl committed May 30, 2023
1 parent a2008f8 commit 269b26d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/files/content/scripts/4-specialists.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function specGeoGetDepleted()
if(depletedBui == null) { return; }
var name = depletedBui.GetBuildingName_string().replace("MineDepletedDeposit", '');
if(specGeoDepletedValidRes.indexOf(name) >= 0) {
result[name] = result[name] + 1 || 0;
result[name] = result[name] + 1 || 1;
}
});
return result;
Expand Down

0 comments on commit 269b26d

Please sign in to comment.