made returns from next task consistent to avoid typeerrors, also linear now checks for none

fixes #11965
This commit is contained in:
Brian Coca 2015-08-14 18:07:14 -04:00
parent 9f5e4c0ef6
commit 245e0dd4b7
2 changed files with 4 additions and 1 deletions

View file

@ -58,6 +58,9 @@ class StrategyModule(StrategyBase):
continue
(s, t) = v
if t is None:
continue
if s.cur_block < lowest_cur_block and s.run_state != PlayIterator.ITERATING_COMPLETE:
lowest_cur_block = s.cur_block