Fixes the knockout trait and simple mob sleeping (#18567)

* makes the knockout work

* forgot to remove the calls here
This commit is contained in:
Charlie
2022-08-02 23:45:07 -05:00
committed by GitHub
parent a08468ac21
commit 359552b1f4
5 changed files with 22 additions and 12 deletions
+2 -2
View File
@@ -539,10 +539,10 @@
. = ..()
if(!.)
return
ADD_TRAIT(src, TRAIT_KNOCKEDOUT, "[id]")
ADD_TRAIT(owner, TRAIT_KNOCKEDOUT, "[id]")
/datum/status_effect/incapacitating/sleeping/on_remove()
REMOVE_TRAIT(src, TRAIT_KNOCKEDOUT, "[id]")
REMOVE_TRAIT(owner, TRAIT_KNOCKEDOUT, "[id]")
return ..()
/datum/status_effect/incapacitating/sleeping/tick()