mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 06:28:01 +01:00
Gripper fixes (#19436)
* Fixes compile warning * SANE ARGS * return YES NO * Better
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
/obj/item/stack/material/attack(mob/living/M as mob, mob/living/user as mob)
|
||||
/obj/item/stack/material/attack(mob/living/M, mob/living/user, target_zone, attack_modifier)
|
||||
if(M.handle_eat_minerals(src, user))
|
||||
return
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
..()
|
||||
|
||||
/obj/item/stack/material/attack_generic(var/mob/living/user) //Allow adminbussed mobs to eat ore if they click it while NOT on help intent.
|
||||
if(user.handle_eat_minerals(src))
|
||||
return
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user