Merge pull request #8403 from MrPerson/no_bug_here

Fixes character appearances - no more bald albinos
This commit is contained in:
Remie Richards
2015-03-20 04:36:32 +00:00
3 changed files with 5 additions and 16 deletions
+2 -1
View File
@@ -21,4 +21,5 @@
H.facial_hair_color = H.hair_color
H.eye_color = random_eye_color()
H.dna.blood_type = random_blood_type()
H.update_icons()
H.update_body()
H.update_hair()
+3 -9
View File
@@ -809,7 +809,7 @@ datum/preferences
if("ghost_whispers")
chat_toggles ^= CHAT_GHOSTWHISPER
if("ghost_radio")
chat_toggles ^= CHAT_GHOSTRADIO
@@ -889,11 +889,5 @@ datum/preferences
backbag = 1 //Same as above
character.backbag = backbag
/*
//Debugging report to track down a bug, which randomly assigned the plural gender to people.
if(character.gender in list(PLURAL, NEUTER))
if(isliving(src)) //Ghosts get neuter by default
message_admins("[character] ([character.ckey]) has spawned with their gender as plural or neuter. Please notify coders.")
character.gender = MALE
*/
character.update_body()
character.update_hair()
@@ -43,12 +43,6 @@ There are several things that need to be remembered:
update_hair() //Handles updating your hair overlay (used to be update_face, but mouth and
eyes were merged into update_body())
> I repurposed an old unused variable which was in the code called (coincidentally) var/update_icon
It can be used as another method of triggering regenerate_icons(). It's basically a flag that when set to non-zero
will call regenerate_icons() at the next life() call and then reset itself to 0.
The idea behind it is icons are regenerated only once, even if multiple events requested it.
//NOTE: fairly unused, maybe this could be removed?
If you have any questions/constructive-comments/bugs-to-report
Please contact me on #coderbus IRC. ~Carnie x
//Carn can sometimes be hard to reach now. However IRC is still your best bet for getting help.