Apply suggestions from code review

Fixes compile errors

Co-Authored-By: Poojawa <Poojawa@users.noreply.github.com>
This commit is contained in:
Arturlang
2019-05-26 03:29:27 +03:00
committed by GitHub
parent 08bb998cf3
commit 869fac49a7
2 changed files with 2 additions and 0 deletions
@@ -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,"<span class='notice'>You maximize the pressure on the [src].</span>")
@@ -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,"<span class='notice'>You maximize the pressure on the [src].</span>")