diff --git a/code/game/objects/items/weapons/thurible.dm b/code/game/objects/items/weapons/thurible.dm index bf1feabf93d..8c79b2cd0dc 100644 --- a/code/game/objects/items/weapons/thurible.dm +++ b/code/game/objects/items/weapons/thurible.dm @@ -164,11 +164,11 @@ var/mob/living/carbon/C = A if(C.can_breathe_gas()) mobs_to_smoke += C + if(length(mobs_to_smoke)) + var/percentage_to_add = released_reagents.reagents.total_volume / length(mobs_to_smoke) // Divide the amount of reagents spread around by the number of people inhaling it - var/percentage_to_add = released_reagents.reagents.total_volume / length(mobs_to_smoke) // Divide the amount of reagents spread around by the number of people inhaling it - - for(var/mob/living/carbon/smoker as anything in mobs_to_smoke) - released_reagents.reagents.copy_to(smoker, percentage_to_add) + for(var/mob/living/carbon/smoker as anything in mobs_to_smoke) + released_reagents.reagents.copy_to(smoker, percentage_to_add) if(reagents.total_volume <= 0) put_out()