Fixed a typo causing crashes when calling set_respawn.