Station boiler radiators respect fuel properly (#19474)

* fixes rad

* accessors
This commit is contained in:
Will
2026-05-21 10:09:28 -04:00
committed by GitHub
parent 2eac81efad
commit 6a94a8052d
2 changed files with 5 additions and 5 deletions
+1 -4
View File
@@ -60,11 +60,8 @@ SUBSYSTEM_DEF(stationheater)
// Update radiator icon if the main boiler is functioning or not
radiator.set_state(assigned_boiler?.is_heating())
radiator.update_icon()
// Remove us if we are in an invalid radiator turf
var/turf/radiator_turf = get_turf(radiator)
if(!SScryoplanets.is_station_temp_change_turf(radiator_turf))
if(!radiator.get_radiating() || !SScryoplanets.is_station_temp_change_turf(radiator_turf))
return
// If the temp is colder than the radiator, begin heating!