Merge pull request #11372 from VOREStation/Fixes/11369

Fixes #11369
This commit is contained in:
Aronai Sieyes
2021-08-08 23:40:49 -04:00
committed by Chompstation Bot
parent e333e564dd
commit 51f419b95d

View File

@@ -523,6 +523,15 @@
H.vent_gas(loc)
qdel(H)
/obj/machinery/disposal/hitby(atom/movable/AM)
. = ..()
if(istype(AM, /obj/item) && !istype(AM, /obj/item/projectile))
if(prob(75))
AM.forceMove(src)
visible_message("\The [AM] lands in \the [src].")
else
visible_message("\The [AM] bounces off of \the [src]'s rim!")
/obj/machinery/disposal/CanPass(atom/movable/mover, turf/target)
if(istype(mover, /obj/item/projectile))
return 1