reviver sleep

This commit is contained in:
Ty-Omaha
2019-02-09 13:25:38 -05:00
parent 3d089436c7
commit 819042597f
@@ -261,7 +261,7 @@
/obj/item/organ/internal/cyberimp/chest/reviver/on_life()
if(reviving)
if(owner.stat == UNCONSCIOUS)
if(owner.stat == UNCONSCIOUS && (owner.sleeping == 0)) //!owner.sleeping didn't work for whatever dumb reason
spawn(30)
if(prob(90) && owner.getOxyLoss())
owner.adjustOxyLoss(-3)