Fix crash when detonating buildings (fixes #160)
Check for autoid setinfo on every spawn