add some safety to init_game_spawn.lua