Fixes empty gaseous decomposition plant procs runtiming (#25860)

* Math go brrrr

* Better
This commit is contained in:
DGamerL
2024-06-12 17:53:48 +00:00
committed by GitHub
parent 60a69e5f9f
commit f879418cf1
@@ -141,6 +141,9 @@
if(iscarbon(A))
mobs_to_smoke += A
if(!length(mobs_to_smoke))
return
var/percentage_to_add = chemholder.reagents.total_volume / length(mobs_to_smoke)
for(var/mob/living/carbon/smoker as anything in mobs_to_smoke)