Merge pull request #35418 from kevinz000/patch-445

Allows projectiles to pass portals
This commit is contained in:
Jordan Brown
2018-02-08 10:03:29 -05:00
committed by CitadelStationBot
parent b363799535
commit 6f60dd1591

View File

@@ -147,7 +147,7 @@
var/turf/real_target = get_link_target_turf()
if(!istype(real_target))
return FALSE
if(!ismecha(M) && M.anchored && !allow_anchored)
if(!ismecha(M) && !istype(M, /obj/item/projectile) && M.anchored && !allow_anchored)
return
if(ismegafauna(M))
message_admins("[M] has used a portal at [ADMIN_COORDJMP(src)] made by [usr].")