From da32c6519d8c80578fdb9bdf2a4623f582967c2d Mon Sep 17 00:00:00 2001 From: Pranav Date: Wed, 16 Feb 2022 18:36:42 +0000 Subject: [PATCH] done_moving is marked false to allow orders to be executed --- server/unittools.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/unittools.cpp b/server/unittools.cpp index 1d5fe1d91e..8f6eb024cd 100644 --- a/server/unittools.cpp +++ b/server/unittools.cpp @@ -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); } }