obj
BodyParts
New(_loc)
var/location
if(!_loc) location = loc
else location = _loc
var/mob/m = location
Owner = m
world << _loc
world << loc
//Regeneration = m.Regeneration
spawn(-1) update_bodypart()
spawn(-1) regenerates()
spawn(-1) fix_broken()
..()
-----
add_bparts()
Head = new /obj/BodyParts/Head(src)
Torso = new /obj/BodyParts/Torso(src)
RightArm = new /obj/BodyParts/Right_Arm(src)
LeftArm = new /obj/BodyParts/Left_Arm(src)
RightLeg = new /obj/BodyParts/Right_Leg(src)
LeftLeg = new /obj/BodyParts/Left_Leg(src)
Problem description:
I'm using a limbs system, and I'm encountering some issues. As you can see, I'm outputting it's location in New() to check it's location. When I create a character all is well, it's just when I try to load said character. The character fails to load. What is causing this?
Where you getting loc from?