mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
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:
@@ -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 ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user