mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Merge branch 'master' into development
# Conflicts: # maps/aurora/aurora-1_centcomm.dmm
This commit is contained in:
@@ -775,14 +775,8 @@
|
||||
else
|
||||
permitted = TRUE
|
||||
|
||||
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(G.whitelisted && (!(H.species.name in G.whitelisted)))
|
||||
permitted = 0
|
||||
|
||||
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