Merge pull request #14387 from Dovixx/corpse-interaction

Stops dead people from being able to interact with certain things
This commit is contained in:
AffectedArc07
2020-09-19 21:35:16 +01:00
committed by GitHub
4 changed files with 5 additions and 3 deletions
@@ -1173,7 +1173,7 @@
set src in view(1)
var/self = 0
if(usr.stat == 1 || usr.restrained() || !isliving(usr)) return
if(usr.stat == 1 || usr.restrained() || !isliving(usr) || usr.is_dead()) return
if(usr == src)
self = 1