mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Fixes the knockout trait and simple mob sleeping (#18567)
* makes the knockout work * forgot to remove the calls here
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user