Skip to content

Commit

Permalink
Pause the game when city gets boxed in
Browse files Browse the repository at this point in the history
  • Loading branch information
Keriew committed Nov 14, 2023
1 parent 22b919b commit 7f7a768
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/building/maintenance.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ void building_maintenance_check_rome_access(void)
city_warning_show(WARNING_CITY_BOXED_IN, NEW_WARNING_SLOT);
city_warning_show(WARNING_CITY_BOXED_IN_PEOPLE_WILL_PERISH, NEW_WARNING_SLOT);
city_view_go_to_grid_offset(problem_grid_offset);
game_state_pause();
} else {
data.obstruction_message_displayed = 0;
}
Expand Down

0 comments on commit 7f7a768

Please sign in to comment.