mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
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:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user