diff --git a/code/modules/atmospherics/machinery/portable/portable_pump.dm b/code/modules/atmospherics/machinery/portable/portable_pump.dm index 9ec0f1461fd..b4601e55aea 100644 --- a/code/modules/atmospherics/machinery/portable/portable_pump.dm +++ b/code/modules/atmospherics/machinery/portable/portable_pump.dm @@ -167,10 +167,7 @@ return TRUE if("remove_tank") - if(holding_tank) - on = FALSE - holding_tank.forceMove(get_turf(src)) - holding_tank = null + replace_tank(ui.user, TRUE) update_icon() return TRUE diff --git a/code/modules/atmospherics/machinery/portable/scrubber.dm b/code/modules/atmospherics/machinery/portable/scrubber.dm index 9a798b8ef06..8b7a38cca7c 100644 --- a/code/modules/atmospherics/machinery/portable/scrubber.dm +++ b/code/modules/atmospherics/machinery/portable/scrubber.dm @@ -151,9 +151,7 @@ return TRUE if("remove_tank") - if(holding_tank) - holding_tank.forceMove(get_turf(src)) - holding_tank = null + replace_tank(ui.user, TRUE) update_icon() return TRUE