Guncode Agony 4.1: Portal Intermission (#87803)

## About The Pull Request

Closes #75447 by allowing projectiles to pass through portals. This does
not allow for infinite loops for sanity (including host's) reasons.

Can safely be merged before #87740

## Changelog
🆑
fix: Many years later, projectiles finally can pass through portals -
this time without crashing the server.
/🆑
This commit is contained in:
SmArtKar
2024-11-14 19:53:57 +01:00
committed by GitHub
parent a2c1e27105
commit 97cd0ea5fb
3 changed files with 21 additions and 15 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ GLOBAL_LIST_EMPTY(all_wormholes) // So we can pick wormholes to teleport to
. = ..()
GLOB.all_wormholes -= src
/obj/effect/portal/wormhole/teleport(atom/movable/M)
/obj/effect/portal/wormhole/teleport(atom/movable/M, force = FALSE)
if(iseffect(M)) //sparks don't teleport
return
if(M.anchored)