Fixes a runtime when creating a golem

This commit is contained in:
Crazylemon64
2016-08-23 01:34:28 -07:00
parent b71db4c222
commit 118c7a0a3e
2 changed files with 3 additions and 3 deletions
@@ -12,6 +12,8 @@
var/obj/item/weapon/rig/wearing_rig // This is very not good, but it's much much better than calling get_rig() every update_canmove() call.
/mob/living/carbon/human/New(var/new_loc, var/new_species = null, var/delay_ready_dna = 0)
..()
if(!dna)
dna = new /datum/dna(null)
// Species name is handled by set_species()
@@ -32,8 +34,6 @@
reagents = R
R.my_atom = src
..()
prev_gender = gender // Debug for plural genders
make_blood()
@@ -99,4 +99,4 @@
desc = "strong adamantine hands"
icon_state = "golem"
item_state = null
flags = ABSTRACT | NODROP
flags = ABSTRACT | NODROP