Incapacitation.

This commit is contained in:
PsiOmegaDelta
2015-12-06 11:53:46 +01:00
parent 6afa344059
commit ac3f159125

View File

@@ -2,8 +2,7 @@
set category = "IC"
set name = "Give"
// TODO : Change to incapacitated() on merge.
if(usr.stat || usr.lying || usr.resting || usr.buckled)
if(incapacitated())
return
if(!istype(target) || target.stat || target.lying || target.resting || target.buckled || target.client == null)
return