deus-ex-randomizer icon indicating copy to clipboard operation
deus-ex-randomizer copied to clipboard

fix chargedpickups showing inhand during conversations

Open Die4Ever opened this issue 8 months ago • 0 comments

maybe only if you have another one in your inventory?

image

I tried this but it didn't work


function ChargedPickupBegin(DeusExPlayer Player)
{
    local Human p;
    if(bOneUseOnly) {
        bDisplayableInv = false;
        bHidden = true;
        p = Human(Owner);
        if( p != None ) {
            p.HideInventory(self);
            if(p.inHand == self) {
                p.SetInHand(None);
            }
        }
    }
    _ChargedPickupBegin(Player);
}

Die4Ever avatar Oct 11 '23 00:10 Die4Ever