Skip to content

Commit

Permalink
Fixes some runtimes with disposals (#22376)
Browse files Browse the repository at this point in the history
  • Loading branch information
lewcc authored Sep 12, 2023
1 parent 5450f59 commit 1b0ec97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/recycling/disposal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@
var/obj/item/I = mover
if(istype(I, /obj/item/projectile))
return
if(prob(75) || HAS_TRAIT(mover.throwing.thrower, TRAIT_BADASS))
if(prob(75) || (istype(mover.throwing.thrower) && HAS_TRAIT(mover.throwing.thrower, TRAIT_BADASS)))
I.forceMove(src)
for(var/mob/M in viewers(src))
M.show_message("\the [I] lands in \the [src].", 3)
Expand Down

0 comments on commit 1b0ec97

Please sign in to comment.