Crash on game start

If I comment this line (and everything else referencing new_bot) the game runs just fine, yes; but if this line is present, the game crashes. I also might have figured out the problem, but my laptop ran out of charge JUST as I was compiling the project, so…