Merge pull request #4766 from Citadel-Station-13/upstream-merge-34164

[MIRROR] Fixes megafauna being able to port through jaunt tunnels due to snowflake code
This commit is contained in:
deathride58
2018-01-11 21:33:52 +00:00
committed by GitHub
2 changed files with 5 additions and 8 deletions
+2 -1
View File
@@ -26,6 +26,7 @@
var/turf/open/atmos_source //Atmos link source
var/turf/open/atmos_destination //Atmos link destination
var/allow_anchored = FALSE
var/innate_accuracy_penalty = 0
/obj/effect/portal/anom
name = "wormhole"
@@ -150,7 +151,7 @@
return
if(ismegafauna(M))
message_admins("[M] has used a portal at [ADMIN_COORDJMP(src)] made by [usr].")
if(do_teleport(M, real_target, 0))
if(do_teleport(M, real_target, innate_accuracy_penalty))
if(istype(M, /obj/item/projectile))
var/obj/item/projectile/P = M
P.ignore_source_check = TRUE