mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user