Merge pull request #36288 from Cyberboss/BansKevinzFinally
You can no longer SDQL select certain datums
This commit is contained in:
committed by
CitadelStationBot
parent
ad0be11cbc
commit
bf63e9ad3f
@@ -235,42 +235,42 @@
|
||||
|
||||
if(ispath(type, /mob))
|
||||
for(var/mob/d in location)
|
||||
if(typecache[d.type])
|
||||
if(typecache[d.type] && d.can_vv_get())
|
||||
out += d
|
||||
CHECK_TICK
|
||||
|
||||
else if(ispath(type, /turf))
|
||||
for(var/turf/d in location)
|
||||
if(typecache[d.type])
|
||||
if(typecache[d.type] && d.can_vv_get())
|
||||
out += d
|
||||
CHECK_TICK
|
||||
|
||||
else if(ispath(type, /obj))
|
||||
for(var/obj/d in location)
|
||||
if(typecache[d.type])
|
||||
if(typecache[d.type] && d.can_vv_get())
|
||||
out += d
|
||||
CHECK_TICK
|
||||
|
||||
else if(ispath(type, /area))
|
||||
for(var/area/d in location)
|
||||
if(typecache[d.type])
|
||||
if(typecache[d.type] && d.can_vv_get())
|
||||
out += d
|
||||
CHECK_TICK
|
||||
|
||||
else if(ispath(type, /atom))
|
||||
for(var/atom/d in location)
|
||||
if(typecache[d.type])
|
||||
if(typecache[d.type] && d.can_vv_get())
|
||||
out += d
|
||||
CHECK_TICK
|
||||
else if(ispath(type, /datum))
|
||||
if(location == world) //snowflake for byond shortcut
|
||||
for(var/datum/d) //stupid byond trick to have it not return atoms to make this less laggy
|
||||
if(typecache[d.type])
|
||||
if(typecache[d.type] && d.can_vv_get())
|
||||
out += d
|
||||
CHECK_TICK
|
||||
else
|
||||
for(var/datum/d in location)
|
||||
if(typecache[d.type])
|
||||
if(typecache[d.type] && d.can_vv_get())
|
||||
out += d
|
||||
CHECK_TICK
|
||||
|
||||
|
||||
Reference in New Issue
Block a user