Fixed race condition causing dicionary size changedduring iteration  RuntimeError
Merge remote-tracking branch 'refs/remotes/upstream/master'
I dun goofed. the move_after_attack function didn't get commited last time somehow so here it is again