Fixed budget-bug in the DM.
Fixed budget-bug in the DM.

When the agent's planning budget ran out, it took an immediate action based on
the current message space (i.e. the one after N hypothetical steps), not on the
one induced by the real world. This led to impossible actions.

Now it just performs the first step of its plan if it has one (or creates a new
one if there's no plan, in which case the message space is kosher).

jtapolczai/wumpus