Various fire bugfixes (#22431)

Fixes https://github.com/Aurorastation/Aurora.3/issues/22384.
Fixes https://github.com/Aurorastation/Aurora.3/issues/22389.
changes:
  - bugfix: "Fixes turf fires not spreading."
  - bugfix: "Fixes atmos fires not consistently igniting."
  - bugfix: "Fixes dead mobs burning forever."
  - bugfix: "Fixes fire_act() runtimes for multiple objects."
This commit is contained in:
Batrachophreno
2026-05-11 18:12:58 +00:00
committed by GitHub
parent 8855bdd0dc
commit 58b01cf856
8 changed files with 25 additions and 13 deletions
+1 -1
View File
@@ -154,7 +154,7 @@
var/turf/simulated/other_tile = get_step(T, direction)
// Exit the loop early if the checked tile is not a valid direction for the fire to spread.
if(!istype(other_tile) || (T.open_directions & direction) || other_tile.hotspot || other_tile.turf_fire) //Grab all valid bordering tiles
if(!istype(other_tile) || !(T.open_directions && direction) || other_tile.hotspot || other_tile.turf_fire) //Grab all valid bordering tiles
continue
other_tile.hotspot_expose(effective_temperature)
+2 -2
View File
@@ -178,10 +178,10 @@
burst()
/obj/item/toy/balloon/fire_act(temperature, volume)
/obj/item/toy/balloon/fire_act(exposed_temperature, exposed_volume)
. = ..()
if(temperature > T0C+100)
if(exposed_temperature > T0C+100)
burst()
return