Skip to content

Commit

Permalink
Trait
Browse files Browse the repository at this point in the history
  • Loading branch information
AyIong committed Nov 16, 2023
1 parent a3f6c28 commit e4ea3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modular_ss220/objects/code/card_skins.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
. += "<span class='notice'>Нажмите <b>Alt-Click</b> на карту, чтобы снять наклейку."

/obj/item/card/id/AltClick(mob/user)
if(user.stat || user.restrained())
if(user.stat || HAS_TRAIT(user, TRAIT_HANDS_BLOCKED) || user.restrained())
to_chat(user, span_warning("У вас нет возможности снять наклейку!"))
return

Expand Down

0 comments on commit e4ea3d9

Please sign in to comment.