mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
[MIRROR] Attempts to put out the CI fires (#28636)
* Attempts to put out the CI fires (#84277) ## About The Pull Request  A lot of this all of a sudden, I am going to assume it's related to the recent spark changes, which are most likely causing (literal) fires in the testing area. Fixes https://github.com/tgstation/tgstation/issues/84161 Fixes https://github.com/NovaSector/NovaSector/issues/3123 I'm still testing this one with a few CI runs but the timelines match up with roughly around the time of the spark PR; it's most likely the culprit. EDIT: 8 CI runs so far and the issue has not come up, I am fairly confident it was the sparks + fuel puddle combination that was the problem. EDIT EDIT: Found one more issue with /datum/material/plasma that needs to be dealt with. EDIT EDIT EDIT: Issue resolved ## Why It's Good For The Game Save the burninating for in-game please! ## Changelog Not player facing * Attempts to put out the CI fires --------- Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
@@ -458,7 +458,6 @@
|
||||
COMSIG_TURF_MOVABLE_THROW_LANDED = PROC_REF(ignition_trigger),
|
||||
)
|
||||
AddElement(/datum/element/connect_loc, ignition_trigger_connections)
|
||||
RegisterSignal(src, COMSIG_ATOM_TOUCHED_SPARKS, PROC_REF(ignition_trigger))
|
||||
for(var/obj/effect/decal/cleanable/fuel_pool/pool in get_turf(src)) //Can't use locate because we also belong to that turf
|
||||
if(pool == src)
|
||||
continue
|
||||
@@ -468,6 +467,15 @@
|
||||
if(burn_stacks)
|
||||
burn_amount = max(min(burn_stacks, 10), 1)
|
||||
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
// Just in case of fires, do this after mapload.
|
||||
/obj/effect/decal/cleanable/fuel_pool/LateInitialize()
|
||||
// We don't want to burn down the create_and_destroy test area
|
||||
#ifndef UNIT_TESTS
|
||||
RegisterSignal(src, COMSIG_ATOM_TOUCHED_SPARKS, PROC_REF(ignition_trigger))
|
||||
#endif
|
||||
|
||||
/obj/effect/decal/cleanable/fuel_pool/fire_act(exposed_temperature, exposed_volume)
|
||||
. = ..()
|
||||
ignite()
|
||||
|
||||
Reference in New Issue
Block a user