mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-16 01:25:10 +01:00
Fixes logic problems
This commit is contained in:
@@ -22,8 +22,9 @@
|
||||
|
||||
var/banned = is_type_in_typecache(T, blacklisted_turfs)
|
||||
var/permitted = is_type_in_typecache(T, whitelisted_turfs)
|
||||
if(banned || !permitted)
|
||||
return SHELTER_DEPLOY_BAD_TURFS
|
||||
if(banned)
|
||||
if(!permitted)
|
||||
return SHELTER_DEPLOY_BAD_TURFS
|
||||
|
||||
for(var/obj/O in T)
|
||||
if((O.density && O.anchored) || is_type_in_typecache(O, banned_objects))
|
||||
|
||||
Reference in New Issue
Block a user