Icecream final fix, more whitelist attempt and missing lights sprites (#3678)

-fixes icecream once for all
-might fix xenos whitelist loadout
-fixes #3675 and #3654
-fixes #3684
-fixes #3686
-fixes #2747
This commit is contained in:
Alberyk
2017-10-16 23:38:55 +03:00
committed by Erki
parent 920f078115
commit 86f8fbef49
5 changed files with 56 additions and 60 deletions
+8 -2
View File
@@ -774,8 +774,14 @@
else
permitted = TRUE
if(G.whitelisted && !is_alien_whitelisted(H, all_species[G.whitelisted]))
permitted = FALSE
if (G.whitelisted)
var/found = FALSE
for (var/species in G.whitelisted)
if (is_alien_whitelisted(H, global.all_species[species]))
found = TRUE
break
if (!found)
permitted = FALSE
if(!permitted)
H << "<span class='warning'>Your current job or whitelist status does not permit you to spawn with [thing]!</span>"