From 869fac49a7d606ef1bbfcac31b84d39da0e8468d Mon Sep 17 00:00:00 2001 From: Arturlang Date: Sun, 26 May 2019 03:29:27 +0300 Subject: [PATCH] Apply suggestions from code review Fixes compile errors 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 46b898247a..3aeb799bdb 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/pump.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/pump.dm @@ -35,6 +35,7 @@ Thus, the two variables affect pump operation are set in New(): return ..() /obj/machinery/atmospherics/components/binary/pump/AltClick(mob/user) + var/area/A = get_area(src) if(user.canUseTopic(src, BE_CLOSE, FALSE,)) target_pressure = MAX_OUTPUT_PRESSURE to_chat(user,"You maximize the pressure on the [src].") 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..f41b1607c5 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/volume_pump.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/volume_pump.dm @@ -35,6 +35,7 @@ Thus, the two variables affect pump operation are set in New(): return ..() /obj/machinery/atmospherics/components/binary/volume_pump/AltClick(mob/user) + var/area/A = get_area(src) if(user.canUseTopic(src, BE_CLOSE, FALSE,)) transfer_rate = MAX_TRANSFER_RATE to_chat(user,"You maximize the pressure on the [src].")