Fixes pulse rifles exploding structures in nullspace and that sort of thing (#38931)
* memes * i just woke up ok
This commit is contained in:
committed by
letterjay
parent
981743a170
commit
f36ab6982b
@@ -90,7 +90,7 @@
|
||||
|
||||
/obj/item/projectile/beam/pulse/on_hit(atom/target, blocked = FALSE)
|
||||
. = ..()
|
||||
if(isturf(target) || istype(target, /obj/structure/))
|
||||
if (!QDELETED(target) && (isturf(target) || istype(target, /obj/structure/)))
|
||||
target.ex_act(EXPLODE_HEAVY)
|
||||
|
||||
/obj/item/projectile/beam/pulse/shotgun
|
||||
|
||||
Reference in New Issue
Block a user