Skip to content

Commit

Permalink
Update strippable.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzmike authored Jul 28, 2024
1 parent 524aa92 commit 227ea83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/elements/strippable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
if (isnull(item))
return FALSE

if (user.action_busy && !skillcheck(user, SKILL_POLICE, SKILL_POLICE_SKILLED))
if ((user.action_busy && !skillcheck(user, SKILL_POLICE, SKILL_POLICE_SKILLED)) || user.is_mob_restrained() || HAS_TRAIT(user, (TRAIT_IMMOBILIZED || TRAIT_INCAPACITATED || TRAIT_FLOORED)))
to_chat(user, SPAN_WARNING("You can't do this right now."))
return FALSE

Expand Down

0 comments on commit 227ea83

Please sign in to comment.