Apply suggestions from code review

Added logging as suggested by Poojawa

Co-Authored-By: Poojawa <Poojawa@users.noreply.github.com>
This commit is contained in:
Arturlang
2019-05-25 14:01:55 +03:00
committed by GitHub
parent 96ab12cb48
commit 749e3a6f6a
2 changed files with 2 additions and 0 deletions
@@ -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,"<span class='notice'>You maximize the pressure on the [src].</span>")
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
@@ -39,6 +39,7 @@ Thus, the two variables affect pump operation are set in New():
transfer_rate = MAX_TRANSFER_RATE
to_chat(user,"<span class='notice'>You maximize the pressure on the [src].</span>")
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