From 749e3a6f6aa34060f1a48592233a847eedcf45a4 Mon Sep 17 00:00:00 2001 From: Arturlang Date: Sat, 25 May 2019 14:01:55 +0300 Subject: [PATCH] Apply suggestions from code review Added logging as suggested by Poojawa Co-Authored-By: Poojawa --- .../atmospherics/machinery/components/binary_devices/pump.dm | 1 + .../machinery/components/binary_devices/volume_pump.dm | 1 + 2 files changed, 2 insertions(+) diff --git a/code/modules/atmospherics/machinery/components/binary_devices/pump.dm b/code/modules/atmospherics/machinery/components/binary_devices/pump.dm index cf33b46b63..46b898247a 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/pump.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/pump.dm @@ -38,6 +38,7 @@ Thus, the two variables affect pump operation are set in New(): if(user.canUseTopic(src, BE_CLOSE, FALSE,)) target_pressure = MAX_OUTPUT_PRESSURE to_chat(user,"You maximize the pressure on the [src].") + investigate_log("Pump, [src.name], was maximized by [key_name(usr)] at [x], [y], [z], [A]", INVESTIGATE_ATMOS) /obj/machinery/atmospherics/components/binary/pump/layer1 piping_layer = PIPING_LAYER_MIN diff --git a/code/modules/atmospherics/machinery/components/binary_devices/volume_pump.dm b/code/modules/atmospherics/machinery/components/binary_devices/volume_pump.dm index c217b640bd..1c6543681e 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/volume_pump.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/volume_pump.dm @@ -39,6 +39,7 @@ Thus, the two variables affect pump operation are set in New(): transfer_rate = MAX_TRANSFER_RATE to_chat(user,"You maximize the pressure on the [src].") investigate_log("Pump, [src.name], was maximized by [key_name(usr)] at [x], [y], [z], [A]", INVESTIGATE_ATMOS) + investigate_log("Pump, [src.name], was maximized by [key_name(usr)] at [x], [y], [z], [A]", INVESTIGATE_ATMOS) /obj/machinery/atmospherics/components/binary/volume_pump/layer1 piping_layer = PIPING_LAYER_MIN