Fire extinguishers and sprays only hit a tile once. (#23568)

* lmaoooo lol even

* yippee

* DGamerL review

* oops

* sirryan review
This commit is contained in:
Contrabang
2024-01-21 20:44:50 +00:00
committed by GitHub
parent ab3992dec8
commit 5b6329ed25
3 changed files with 89 additions and 86 deletions
@@ -79,7 +79,9 @@
D.icon += mix_color_from_reagents(D.reagents.reagent_list)
for(var/i in 1 to spray_currentrange)
step_towards(D, A)
if(!step_towards(D, A))
qdel(D)
return
D.reagents.reaction(get_turf(D))
for(var/atom/T in get_turf(D))
D.reagents.reaction(T)