mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Stops spurious ruins lattice CI runtimes (#89890)
## About The Pull Request Simply stops this from `stack_trace()`'ing in ruins, opting to `log_mapping()` instead. By changing it to use `log_mapping()` it will only cause CI failures if they occur on mining or station z levels, which should stop ruins weirdness from causing garbage outputs/failures in tests. As well as improving the debug logging by adding the area to the printout. ## Why It's Good For The Game There's really no point to complaining about a ruin spawning overlapping lattices after mapload when one of them just gets deleted anyway. Stops unhelpful stack_trace messages from blocking CI from passing. ## Changelog Not player facing.
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
for(var/obj/structure/lattice/LAT in loc)
|
||||
if(LAT == src)
|
||||
continue
|
||||
stack_trace("multiple lattices found in ([loc.x], [loc.y], [loc.z])")
|
||||
log_mapping("multiple lattices found in ([loc.x], [loc.y], [loc.z], [get_area(LAT)])")
|
||||
return INITIALIZE_HINT_QDEL
|
||||
|
||||
/obj/structure/lattice/blob_act(obj/structure/blob/B)
|
||||
|
||||
Reference in New Issue
Block a user