Fix for alien queen names.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4092 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
elly1989@rocketmail.com
2012-07-16 20:01:05 +00:00
parent 627e5e295d
commit d8f6feef14

View File

@@ -5,8 +5,10 @@
//there should only be one queen
for(var/mob/living/carbon/alien/humanoid/queen/Q in world)
if(Q.stat != DEAD)
name = "alien princess ([rand(1, 1000)])" //if this is too cutesy feel free to change it/remove it.
if(Q == src) continue
if(Q.stat == DEAD) continue
if(Q.client)
name = "alien princess ([rand(1, 999)])" //if this is too cutesy feel free to change it/remove it.
break
real_name = src.name