Worked on next player a bit, now pops error as soon as it starts human's turn.