From 8f89cc233ec155055e50dce2b11205fa70940a62 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 a64c6e0d62..373fc7d316 100644 --- a/server/unittools.cpp +++ b/server/unittools.cpp @@ -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); } }