Skip to content

Commit

Permalink
yay
Browse files Browse the repository at this point in the history
  • Loading branch information
Git-Nivrak committed Jun 26, 2024
1 parent 31e1ffb commit e970b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/projectiles/gun_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ DEFINES in setup.dm, referenced here.
/mob/living/carbon/human/verb/holster_verb(unholster_number_offset = 1 as num)
set name = "holster"
set hidden = TRUE
if(usr.is_mob_incapacitated(TRUE) || usr.is_mob_restrained())
if(usr.is_mob_incapacitated(TRUE) || usr.is_mob_restrained() || IsKnockDown() || HAS_TRAIT_FROM(src, TRAIT_UNDENSE, LYING_DOWN_TRAIT))
to_chat(src, SPAN_WARNING("You can't draw a weapon in your current state."))
return

Expand Down

0 comments on commit e970b02

Please sign in to comment.