cancelOrder is not cancelling an order.
-
I've got an issue with cancelOrder.
I currently have the following logic in code:
Do move (return OK)
Do build at current location (returns OK)
if build == OK, cancel any move order (returns OK, sometimes ERR_NOT_FOUND)
The creep always moves, even if cancelOrder('move') returns OK.
There is no logic after the cancelOrder which might cause an additional move.
-
scratch this issue.
Was an issue on my side.