Oops...
This commit is contained in:
parent
1325eca52a
commit
e9aa24d65e
2 changed files with 11 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue