mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 16:38:22 +01:00
Fixes Examine Crashes (#17430)
* Fixes Examine Crashes * fukken indentations
This commit is contained in:
@@ -111,9 +111,9 @@
|
||||
to_chat(user, SPAN_NOTICE("You adjusted the pressure nozzle. You'll now use [amount_per_transfer_from_this] units per spray, with a [spray_size] lane spray."))
|
||||
|
||||
/obj/item/reagent_containers/spray/examine(mob/user, distance, is_adjacent)
|
||||
. = ..()
|
||||
if(is_adjacent)
|
||||
to_chat(user, "[round(reagents.total_volume)] units left.")
|
||||
return
|
||||
|
||||
/obj/item/reagent_containers/spray/verb/empty()
|
||||
|
||||
@@ -170,7 +170,7 @@
|
||||
|
||||
/obj/item/reagent_containers/spray/pepper/examine(mob/user, distance, is_adjacent)
|
||||
. = ..()
|
||||
if(distance <= 1)
|
||||
if(is_adjacent)
|
||||
to_chat(user, "The safety is [safety ? "on" : "off"].")
|
||||
|
||||
/obj/item/reagent_containers/spray/pepper/AltClick()
|
||||
|
||||
Reference in New Issue
Block a user