This commit is contained in:
kevinz000
2020-01-16 00:18:40 -07:00
parent 26525b8fa7
commit 350c5aa060
11 changed files with 18 additions and 16 deletions
+2 -1
View File
@@ -117,7 +117,8 @@
if(DEAD)
to_chat(user, "<span class='notice'>You cannot [key] while dead.</span>")
return FALSE
if(restraint_check && !CHECK_MOBILITY(user, MOBILITY_MOVE))
var/mob/living/L = user
if(restraint_check && (istype(L) && !CHECK_MOBILITY(user, MOBILITY_USE)))
if(!intentional)
return FALSE
to_chat(user, "<span class='notice'>You cannot [key] while stunned.</span>")