mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
[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:
@@ -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 ..()
|
||||
|
||||
Reference in New Issue
Block a user