Skip to content

Commit

Permalink
Update marine_armor.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
grifp71 authored Apr 1, 2024
1 parent f0ee43b commit 3f4dff9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion code/modules/clothing/suits/marine_armor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,12 @@
/obj/item/device/motiondetector,
/obj/item/device/walkman,
)
var/list/smartgun_back = list(
/obj/item/weapon/gun/shotgun/pump/special,
/obj/item/weapon/gun/rifle/m41aMK1,
/obj/item/storage/large_holster/m37,
/obj/item/weapon/gun/flamer,
)

/obj/item/clothing/suit/storage/marine/smartgunner/Initialize()
. = ..()
Expand Down Expand Up @@ -425,7 +431,7 @@
return


if(istype(equipping_item, /obj/item/weapon/gun))
if(is_type_in_list(equipping_item, smartgun_back))
return

. = COMPONENT_HUMAN_CANCEL_ATTEMPT_EQUIP
Expand Down

0 comments on commit 3f4dff9

Please sign in to comment.