Skip to content

Commit

Permalink
woops I see what you mean, thanks :)
Browse files Browse the repository at this point in the history
Co-authored-by: Drathek <[email protected]>
  • Loading branch information
zzzmike and Drulikar authored Jul 28, 2024
1 parent 4b629f8 commit a9f98dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/datums/elements/strippable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,13 @@
to_chat(user, SPAN_WARNING("You can't do this right now."))
return FALSE

if ((user.is_mob_incapacitated() || user.is_mob_restrained()))
if (user.is_mob_incapacitated())
to_chat(user, SPAN_WARNING("You can't do this right now."))
return FALSE

if (HAS_TRAIT(user, TRAIT_IMMOBILIZED) || HAS_TRAIT(user, TRAIT_FLOORED))
to_chat(user, SPAN_WARNING("You can't do this right now."))
return FALSE
to_chat(user, SPAN_WARNING("You can't do this right now."))
return FALSE

if ((item.flags_inventory & CANTSTRIP) || ((item.flags_item & NODROP) && !(item.flags_item & FORCEDROP_CONDITIONAL)) || (item.flags_item & ITEM_ABSTRACT))
return FALSE
Expand Down

0 comments on commit a9f98dc

Please sign in to comment.