makes resin sprayers use the right interact with atom proc (#88432)

## About The Pull Request

Changes resin sprayers to do all their behavior on
ranged_interact_with_atom rather than interact_with_atom, which makes
resin sprayers actually do their intended behavior if you click on any
tile more than one away from you.
## Why It's Good For The Game

Resin sprayers don't work at all unless you click a tile next to you
without this.
## Changelog
🆑
fix: Fixes resin sprayers not working if the target is more than one
tile away from you
/🆑
This commit is contained in:
Paxilmaniac
2024-12-14 03:34:57 +01:00
committed by GitHub
parent 303e06bd46
commit f91ac35a8b
@@ -290,6 +290,9 @@
/obj/item/extinguisher/mini/nozzle/interact_with_atom(atom/interacting_with, mob/living/user, list/modifiers)
if(AttemptRefill(interacting_with, user))
return NONE
return ..()
/obj/item/extinguisher/mini/nozzle/ranged_interact_with_atom(atom/interacting_with, mob/living/user, list/modifiers)
if(nozzle_mode == EXTINGUISHER)
return ..()