Skip to content

Commit

Permalink
Fix too many battle icons appearing on the empire map
Browse files Browse the repository at this point in the history
  • Loading branch information
crudelios committed Feb 3, 2025
1 parent 87a6075 commit 8dcf21f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scenario/invasion.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ void scenario_invasion_foreach_warning(void (*callback)(int x, int y, int image_
{
const invasion_warning *warning;
array_foreach(data.warnings, warning) {
if (warning->in_use && !warning->handled) {
if (warning->in_use && warning->handled) {
callback(warning->x, warning->y, warning->image_id);
}
}
Expand Down

0 comments on commit 8dcf21f

Please sign in to comment.