Added a sanity check to _00E_Smoking_CrossLeggedMarkerScript

This commit is contained in:
Eddoursul 2024-02-19 22:54:17 +01:00
parent 6b713f9544
commit a551eec5ca
2 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,9 @@ Event OnPackageChange(Package akOldPackage)
; Debug.Trace(self + ": OnPackageChange, " + Target + ", old package " + akOldPackage)
; Failsafe auto-stop smoking on package change
if Target
Target.RemoveSpell(_00E_Smoking_CrossLeggedMarkerSP)
endif
EndEvent
Event OnEffectFinish(Actor akTarget, Actor akCaster)