mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Throwables Fix (#10066)
Catching fragile containers no longer causes them to shatter.
Catching items no longer plays the hit by thrown item sound.
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
|
||||
/obj/item/reagent_containers/throw_impact(atom/hit_atom, var/speed)
|
||||
. = ..()
|
||||
if((speed >= fragile) && shatter)
|
||||
if((speed >= fragile) && shatter && !ismob(loc))
|
||||
shatter()
|
||||
|
||||
/obj/item/reagent_containers/proc/shatter(var/obj/item/W, var/mob/user)
|
||||
|
||||
Reference in New Issue
Block a user