After the ships reach their destination, it looks like the code is properly resetting the myglobals.Variables.current_assignments to a new instance of ShipHistory. However, in the following turn, it appears that the same ship will fall through the try/except with an exception, and end up having a new random offset positional assigned to it. As a result, mining only lasts for 1 turn.
This is not desirable behavior and needs to be fixed...
After the ships reach their destination, it looks like the code is properly resetting the
myglobals.Variables.current_assignments
to a new instance ofShipHistory
. However, in the following turn, it appears that the same ship will fall through thetry
/except
with an exception, and end up having a new random offset positional assigned to it. As a result, mining only lasts for 1 turn.This is not desirable behavior and needs to be fixed...