Fix crashes when spawning bots without being host.
Merge pull request #3 from momo5502/master

Fix crashes when spawning bots without being host.