Skip to content

Commit

Permalink
wupps
Browse files Browse the repository at this point in the history
  • Loading branch information
TheManWithNoHands committed Oct 29, 2024
1 parent 7bd0d7d commit b34888a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@
/obj/item/hardpoint/secondary/grenade_launcher/set_bullet_traits()
..()
LAZYADD(traits_to_give, list(
BULLET_TRAIT_ENTRY(/datum/element/bullet_trait_iff|PASS_MOB_THRU|PASS_HIGH_OVER)
BULLET_TRAIT_ENTRY(/datum/element/bullet_trait_iff)
))

/obj/item/attachable/attached_gun/grenade/Initialize()
. = ..()
grenade_pass_flags = PASS_MOB_THRU_HUMAN|PASS_MOB_IS_OTHER|PASS_OVER

/obj/item/hardpoint/secondary/grenade_launcher/try_fire(atom/target, mob/living/user, params)
if(get_turf(target) in owner.locs)
to_chat(user, SPAN_WARNING("The target is too close."))
Expand Down

0 comments on commit b34888a

Please sign in to comment.