This commit is contained in:
Mari the Deer 2024-02-03 16:56:44 +01:00
commit e9aa24d65e
2 changed files with 11 additions and 4 deletions

View file

@ -372,7 +372,10 @@ Class SWWMQuickCombatTracker : Inventory
{
// force update tag if Grace of Lilith has glitched our owner
if ( item.GetClassName() == 'CCards_Token_Glitched' )
UpdateTag();
{
let hnd = SWWMHandler(EventHandler.Find("SWWMHandler"));
UpdateTag(hnd);
}
return Super.HandlePickup(item);
}
@ -452,7 +455,11 @@ Class SWWMQuickCombatTracker : Inventory
Destroy();
return;
}
if ( PMHack && !Owner.isFrozen() ) UpdateTag();
if ( PMHack && !Owner.isFrozen() )
{
let hnd = SWWMHandler(EventHandler.Find("SWWMHandler"));
UpdateTag(hnd);
}
// cap lifespan if owner is dead
if ( Owner.Health <= 0 ) lifespan = min(lifespan,35);
else lvheight = Owner.Height;