[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 <esainane+github@gmail.com>
This commit is contained in:
SkyratBot
2021-10-08 15:32:52 +01:00
committed by GitHub
co-authored by esainane
parent f961856beb
commit ced8a70537
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
@@ -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())
@@ -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 ..()