From fcac941bc165e1bf21cdbe0d7424e4ef8c54aa54 Mon Sep 17 00:00:00 2001 From: Spamcat Date: Sat, 23 Mar 2013 03:02:45 +0400 Subject: [PATCH] Fixed lizards being unable to spawn mid-round. more dirty fixes, yay --- code/modules/mob/living/carbon/human/human.dm | 4 ++-- code/modules/mob/new_player/new_player.dm | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 5d1ed6107bf..440ddc4bbe4 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -684,7 +684,7 @@ if(dna) switch(dna.mutantrace) if("lizard") - return "Soghun" + return "Unathi" if("tajaran") return "Tajaran" if("skrell") @@ -699,7 +699,7 @@ /mob/living/carbon/get_species() if(src.dna) if(src.dna.mutantrace == "lizard") - return "Soghun" + return "Unathi" else if(src.dna.mutantrace == "skrell") return "Skrell" else if(src.dna.mutantrace == "tajaran") diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm index 7402019ad44..d5b5dfeae87 100644 --- a/code/modules/mob/new_player/new_player.dm +++ b/code/modules/mob/new_player/new_player.dm @@ -129,7 +129,10 @@ return if(client.prefs.species != "Human") - if(!is_alien_whitelisted(src, client.prefs.species) && config.usealienwhitelist) + + var/S = client.prefs.species + if(S == "Unathi") S = "Soghun" + if(!is_alien_whitelisted(src, S) && config.usealienwhitelist) src << alert("You are currently not whitelisted to play [client.prefs.species].") return 0 @@ -144,7 +147,9 @@ usr << "\blue There is an administrative lock on entering the game!" return - if(!is_alien_whitelisted(src, client.prefs.species) && config.usealienwhitelist) + var/S = client.prefs.species + if(S == "Unathi") S = "Soghun" + if(!is_alien_whitelisted(src, S) && config.usealienwhitelist) src << alert("You are currently not whitelisted to play [client.prefs.species].") return 0