mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +01:00
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:
@@ -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>"
|
||||
|
||||
Reference in New Issue
Block a user