mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Merge pull request #5134 from CHOMPStation2/BlackMajor-patch-2
Fixes some small transit bug.
This commit is contained in:
@@ -71,8 +71,8 @@ when portals are shortly lived, or when portals are made to be obvious with spec
|
||||
|
||||
// Called when something touches the portal, and usually teleports them to the other side.
|
||||
/obj/effect/map_effect/portal/Crossed(atom/movable/AM)
|
||||
if(AM.is_incorporeal())
|
||||
return
|
||||
/*if(AM.is_incorporeal())
|
||||
return CHOMPEdit: This is why phased critters couldn't enter z transits */
|
||||
..()
|
||||
if(!AM)
|
||||
return
|
||||
|
||||
@@ -13,13 +13,11 @@
|
||||
return 0
|
||||
|
||||
/obj/effect/step_trigger/Crossed(atom/movable/H as mob|obj)
|
||||
if(H.is_incorporeal())
|
||||
return
|
||||
if((istype(H, /mob/observer) && !affect_ghosts) || (!istype(H, /mob/observer) && H.is_incorporeal() && !affect_ghosts))
|
||||
return //CHOMPEdit: Fixing some step trigger stuff to coincide with incorporeal check changes
|
||||
..()
|
||||
if(!H)
|
||||
return
|
||||
if(istype(H, /mob/observer) && !affect_ghosts)
|
||||
return
|
||||
Trigger(H)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user