Unregister wallmarker smokers from sleep events on leaving their cell

This commit is contained in:
Eddoursul 2024-02-18 08:52:10 +01:00
parent 0a311b78f7
commit 800e77ab6b
2 changed files with 8 additions and 0 deletions

View File

@ -70,6 +70,14 @@ Event OnSleepStart(float afSleepStartTime, float afDesiredSleepEndTime)
_UnlockAnimationUpdates() _UnlockAnimationUpdates()
EndEvent EndEvent
Event OnCellDetach()
UnregisterForSleep()
endEvent
Event OnCellAttach()
RegisterForSleep()
endEvent
Event OnEffectFinish(Actor akTarget, Actor akCaster) Event OnEffectFinish(Actor akTarget, Actor akCaster)
; Debug.Trace(self + ": OnEffectFinish, " + Target) ; Debug.Trace(self + ": OnEffectFinish, " + Target)