- Changed all "male" and "female" assignments to use the constants MALE and FEMALE.

- Added a message_admins() message which is sent if a character setup mismatch is detected to help diagnose the problem.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4496 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-08-19 17:56:51 +00:00
parent 94111f5255
commit 44fb70ffd4
12 changed files with 27 additions and 19 deletions
@@ -729,6 +729,12 @@ datum/preferences
if(character&&character.client)
setup_client(character.client)
//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
proc/copy_to_observer(mob/dead/observer/character)
spawn(10)
if(character && character.client)