More stuff I missed.

This commit is contained in:
Mari the Deer 2023-03-17 13:25:54 +01:00
commit 95dd4a715a
38 changed files with 68 additions and 72 deletions

View file

@ -308,7 +308,7 @@ extend Class SWWMHandler
players[e.Args[0]].mo.GiveInventory(item,1,true);
}
else players[e.Args[0]].mo.GiveInventory(item,e.Args[2],true);
// fucky workaround
// workaround for some items
let inv = players[e.Args[0]].mo.FindInventory(item);
if ( inv && (inv.Amount <= 0) && !inv.bKEEPDEPLETED ) inv.Destroy();
if ( item is 'Weapon' )