Stamina Damage Rework (#12591)

This commit is contained in:
Fox McCloud
2019-10-27 00:23:22 -04:00
committed by variableundefined
parent 573d390d93
commit 00f5e0613c
39 changed files with 91 additions and 67 deletions
+1 -1
View File
@@ -132,7 +132,7 @@
if(user.restrained() || user.buckled)
to_chat(user, "<span class='notice'>You need your hands and legs free for this.</span>")
return 0
if(user.stat || user.paralysis || user.sleeping || user.lying || user.weakened)
if(user.stat || user.paralysis || user.sleeping || user.lying || user.IsWeakened())
return 0
if(issilicon(user))
to_chat(user, "<span class='notice'>You need hands for this.</span>")