Fixed spam-spawn bug. The last commit is mine!