Currently when giving an order to a unit the order queue is reset and the given order is processed. That means that whenever the given order fails (e.g. tasking a turreted entity to take a stroll) the order queue resets, stopping any forced attacks.
This diff makes sure to only reset the queue if the given order is not discarded.