mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 00:21:11 +01:00
sdfas (#18602)
This commit is contained in:
@@ -97,7 +97,8 @@
|
||||
to_chat(user, "You [anchored ? "attach" : "detach"] the [src] [anchored ? "to" : "from"] the ground")
|
||||
playsound(src.loc, attacking_item.usesound, 75, 1)
|
||||
|
||||
ui = SStgui.try_update_ui(user, src, ui)
|
||||
if(ui?.user)
|
||||
ui = SStgui.try_update_ui(user, src, ui)
|
||||
|
||||
|
||||
/obj/machinery/chem_master/ui_interact(mob/user, datum/tgui/ui)
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
reagents.apply_force(speed)
|
||||
|
||||
/obj/item/reagent_containers/proc/shatter(var/obj/item/W, var/mob/user)
|
||||
if(reagents.total_volume)
|
||||
if(reagents?.total_volume)
|
||||
reagents.splash(src.loc, reagents.total_volume) // splashes the mob holding it or the turf it's on
|
||||
audible_message(SPAN_WARNING("\The [src] shatters with a resounding crash!"), SPAN_WARNING("\The [src] breaks."))
|
||||
playsound(src, shatter_sound, 70, 1)
|
||||
|
||||
Reference in New Issue
Block a user