From ced8a705379d8d702b6cdb557f9534c32c9c5c22 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Fri, 8 Oct 2021 16:32:52 +0200 Subject: [PATCH] [MIRROR] Rename freon_gas_act to freeze_turf [MDB IGNORE] (#8690) * Rename freon_gas_act to freeze_turf (#61958) This was only used from two places, neither of which involved freon. * Rename freon_gas_act to freeze_turf Co-authored-by: esainane --- code/game/turfs/open/_open.dm | 2 +- code/modules/atmospherics/gasmixtures/reactions.dm | 2 +- code/modules/projectiles/projectile/special/temperature.dm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/turfs/open/_open.dm b/code/game/turfs/open/_open.dm index 1ba17b07f29..e43c7eb0729 100644 --- a/code/game/turfs/open/_open.dm +++ b/code/game/turfs/open/_open.dm @@ -232,7 +232,7 @@ air.temperature += temp air_update_turf(FALSE, FALSE) -/turf/open/proc/freon_gas_act() +/turf/open/proc/freeze_turf() for(var/obj/I in contents) if(I.resistance_flags & FREEZE_PROOF) continue diff --git a/code/modules/atmospherics/gasmixtures/reactions.dm b/code/modules/atmospherics/gasmixtures/reactions.dm index 07552b49f6e..2d034f336e9 100644 --- a/code/modules/atmospherics/gasmixtures/reactions.dm +++ b/code/modules/atmospherics/gasmixtures/reactions.dm @@ -74,7 +74,7 @@ var/turf/open/location = isturf(holder) ? holder : null . = NO_REACTION if (air.temperature <= WATER_VAPOR_FREEZE) - if(location?.freon_gas_act()) + if(location?.freeze_turf()) . = REACTING else if(air.temperature <= T20C + 10) if(location?.water_vapor_gas_act()) diff --git a/code/modules/projectiles/projectile/special/temperature.dm b/code/modules/projectiles/projectile/special/temperature.dm index 2ee245cc36b..c43e7322304 100644 --- a/code/modules/projectiles/projectile/special/temperature.dm +++ b/code/modules/projectiles/projectile/special/temperature.dm @@ -35,5 +35,5 @@ var/turf/T = get_turf(src) if(isopenturf(T)) var/turf/open/O = T - O.freon_gas_act() + O.freeze_turf() return ..()