mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Condiments now check for proximity before continuing with the rest of afterattack. Fixes #11334.
This commit is contained in:
@@ -25,7 +25,10 @@
|
||||
if(standard_feed_mob(user, M))
|
||||
return
|
||||
|
||||
afterattack(var/obj/target, var/mob/user, var/flag)
|
||||
afterattack(var/obj/target, var/mob/user, var/proximity)
|
||||
if(!proximity)
|
||||
return
|
||||
|
||||
if(standard_dispenser_refill(user, target))
|
||||
return
|
||||
if(standard_pour_into(user, target))
|
||||
|
||||
Reference in New Issue
Block a user