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 Jul 16, 2022
1 parent b6b443d commit 8f89cc2
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 @@ -646,6 +646,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 8f89cc2

Please sign in to comment.