Admin fix_air verb also fixes the turfs' temperatures. (#83549)

## About The Pull Request
Makes the turfs' temperatures be set to their initial values when
fix_air is used on them.
## Why It's Good For The Game
Prevents the turfs from heating the air back up after an admin uses
fix_air on a very hot room.
## Changelog
🆑
admin: fix_air will also fix the turfs' temperatures.
/🆑
This commit is contained in:
Pickle-Coding
2024-05-29 16:37:31 -04:00
committed by SkyratBot
parent 84a69e5a05
commit 3275ad54b8
+1
View File
@@ -13,4 +13,5 @@ ADMIN_VERB_AND_CONTEXT_MENU(fix_air, R_ADMIN, "Fix Air", "Fixes air in a specifi
//SKYRAT EDIT ADDITION END
var/datum/gas_mixture/GM = SSair.parse_gas_string(valid_range_turf.initial_gas_mix, /datum/gas_mixture/turf)
valid_range_turf.copy_air(GM)
valid_range_turf.temperature = initial(valid_range_turf.temperature)
valid_range_turf.update_visuals()