Skip to content

Commit

Permalink
done_moving is marked false to allow orders to be executed
Browse files Browse the repository at this point in the history
  • Loading branch information
psampathkumar committed Feb 5, 2023
1 parent d40a28c commit 70011cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/unittools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -661,6 +661,7 @@ void execute_unit_orders(struct player *pplayer)
unit_list_iterate_safe(pplayer->units, punit)
{
if (unit_has_orders(punit)) {
punit->done_moving = false;
execute_orders(punit, false);
}
}
Expand Down

0 comments on commit 70011cb

Please sign in to comment.