mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
You can now load the grenade launcher on the m-90gl (#90815)
## About The Pull Request Changes a attackby() call into an item_interaction() call in the M-90gl code. Fixes https://github.com/tgstation/tgstation/issues/90812 ## Why It's Good For The Game Most likely broke during a refactor. ## Changelog 🆑 fix: The grenade launcher of the M-90gl can be reloaded once again. /🆑
This commit is contained in:
@@ -182,8 +182,7 @@
|
||||
/obj/item/gun/ballistic/automatic/m90/item_interaction(mob/living/user, obj/item/tool, list/modifiers)
|
||||
if(isammocasing(tool))
|
||||
if(istype(tool, underbarrel.magazine.ammo_type))
|
||||
underbarrel.attack_self(user)
|
||||
underbarrel.attackby(tool, user, list2params(modifiers))
|
||||
underbarrel.item_interaction(user, tool, modifiers)
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user