deus-ex-randomizer
deus-ex-randomizer copied to clipboard
fix chargedpickups showing inhand during conversations
maybe only if you have another one in your inventory?
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);
}