Merge pull request #5535 from Crazylemon64/i_hope_you_like_giant_prs

Fixes various bugs
This commit is contained in:
Fox McCloud
2016-08-24 00:06:38 -04:00
committed by GitHub
7 changed files with 16 additions and 13 deletions
@@ -12,6 +12,7 @@
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()
@@ -22,6 +23,8 @@
else
set_species(delay_icon_update = 1)
..()
if(species)
real_name = species.get_random_name(gender)
name = real_name
@@ -32,8 +35,6 @@
reagents = R
R.my_atom = src
..()
prev_gender = gender // Debug for plural genders
make_blood()
@@ -201,7 +201,8 @@
update_hair(redraw_mob) //rebuild hair
update_fhair(redraw_mob)
update_head_accessory(redraw_mob)
sec_hud_set_ID()
if(hud_list.len)
sec_hud_set_ID()
update_inv_wear_mask(redraw_mob)
if(slot_handcuffed)
handcuffed = W
@@ -220,7 +221,8 @@
update_inv_belt(redraw_mob)
if(slot_wear_id)
wear_id = W
sec_hud_set_ID()
if(!hud_list.len)
sec_hud_set_ID()
update_inv_wear_id(redraw_mob)
if(slot_wear_pda)
wear_pda = W
@@ -99,4 +99,4 @@
desc = "strong adamantine hands"
icon_state = "golem"
item_state = null
flags = ABSTRACT | NODROP
flags = ABSTRACT | NODROP