Skip to content

Commit

Permalink
upp mg fire prevention iff (#137)
Browse files Browse the repository at this point in the history
Small change for UPP ops.
  • Loading branch information
AndroBetel committed Mar 6, 2024
1 parent bab7c3e commit 2901f59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/projectiles/guns/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@
LAZYADD(traits_to_give, list(
BULLET_TRAIT_ENTRY_ID("iff", /datum/element/bullet_trait_iff) //it has no PVE IFF mechanics because its innacurate as hell and is used for suppression and not as assault weapon.
))
AddComponent(/datum/component/iff_fire_prevention)

/datum/action/item_action/toggle_iff_pkp/New(Target, obj/item/holder)
. = ..()
Expand Down Expand Up @@ -320,6 +321,7 @@
add_bullet_trait(BULLET_TRAIT_ENTRY_ID("iff", /datum/element/bullet_trait_iff))
if(!iff_enabled)
remove_bullet_trait("iff")
SEND_SIGNAL(src, COMSIG_GUN_IFF_TOGGLED, iff_enabled)

/obj/effect/syringe_gun_dummy
name = ""
Expand Down

0 comments on commit 2901f59

Please sign in to comment.