Skip to content

Commit

Permalink
Fix neptune bonus making fountains not work when the c3_model is chan…
Browse files Browse the repository at this point in the history
…ged to require only one worker
  • Loading branch information
crudelios committed Jul 7, 2023
1 parent b51cfaf commit 789ce44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/building/building.c
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,9 @@ int building_get_laborers(building_type type)
// Neptune GT bonus
if (type == BUILDING_FOUNTAIN && building_monument_working(BUILDING_GRAND_TEMPLE_NEPTUNE)) {
workers /= 2;
if (workers == 0) {
workers = 1;
}
}
return workers;
}
Expand Down

0 comments on commit 789ce44

Please sign in to comment.