From c18c177002c174e54b1c2b4fea60020b41f0d767 Mon Sep 17 00:00:00 2001 From: SteelSlayer Date: Sun, 31 Jan 2021 17:21:49 -0600 Subject: [PATCH] remove useless returns --- .../atmospherics/machinery/components/binary_devices/pump.dm | 1 - .../machinery/components/binary_devices/volume_pump.dm | 1 - .../atmospherics/machinery/components/trinary_devices/filter.dm | 1 - .../atmospherics/machinery/components/trinary_devices/mixer.dm | 1 - 4 files changed, 4 deletions(-) diff --git a/code/modules/atmospherics/machinery/components/binary_devices/pump.dm b/code/modules/atmospherics/machinery/components/binary_devices/pump.dm index 9303dee01d9..63cc657dfb6 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/pump.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/pump.dm @@ -44,7 +44,6 @@ Thus, the two variables affect pump operation are set in New(): /obj/machinery/atmospherics/binary/pump/AltClick(mob/living/user) if(can_use_shortcut(user)) set_max(user) - return /obj/machinery/atmospherics/binary/pump/AIAltClick() set_max() 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 21225229738..641b492f009 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/volume_pump.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/volume_pump.dm @@ -41,7 +41,6 @@ Thus, the two variables affect pump operation are set in New(): /obj/machinery/atmospherics/binary/volume_pump/AltClick(mob/living/user) if(can_use_shortcut(user)) set_max(user) - return /obj/machinery/atmospherics/binary/volume_pump/AIAltClick() set_max() diff --git a/code/modules/atmospherics/machinery/components/trinary_devices/filter.dm b/code/modules/atmospherics/machinery/components/trinary_devices/filter.dm index 2043220ef77..14b802ec19c 100644 --- a/code/modules/atmospherics/machinery/components/trinary_devices/filter.dm +++ b/code/modules/atmospherics/machinery/components/trinary_devices/filter.dm @@ -47,7 +47,6 @@ /obj/machinery/atmospherics/trinary/filter/AltClick(mob/living/user) if(can_use_shortcut(user)) set_max(user) - return /obj/machinery/atmospherics/trinary/filter/AIAltClick() set_max() diff --git a/code/modules/atmospherics/machinery/components/trinary_devices/mixer.dm b/code/modules/atmospherics/machinery/components/trinary_devices/mixer.dm index 39c7c73aba1..3e42cf411cd 100644 --- a/code/modules/atmospherics/machinery/components/trinary_devices/mixer.dm +++ b/code/modules/atmospherics/machinery/components/trinary_devices/mixer.dm @@ -28,7 +28,6 @@ /obj/machinery/atmospherics/trinary/mixer/AltClick(mob/living/user) if(can_use_shortcut(user)) set_max(user) - return ..() /obj/machinery/atmospherics/trinary/mixer/AIAltClick() set_max()