Skip to content

Commit

Permalink
payload canpass override
Browse files Browse the repository at this point in the history
  • Loading branch information
X0-11 committed Jun 8, 2024
1 parent 89552a2 commit 3162493
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/modules/halo/misc/payload.dm
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@
/obj/payload/Process()
checkexplode()

/obj/payload/CanPass(atom/movable/mover)
if(istype(mover,/obj/item/projectile))
return 1

. = ..()

//SELF DESTRUCT PAYLOAD DOES NOT MOVE//
/obj/payload/self_destruct
anchored = 1
Expand Down

0 comments on commit 3162493

Please sign in to comment.