- account for KEEPDEPLETED flag when destroying items with InterHubAmount of 0 upon leaving a level

This commit is contained in:
Blue Shadow 2021-03-19 19:04:20 +03:00 committed by Christoph Oelckers
parent 8ef02544a7
commit acd553aa6f
1 changed files with 1 additions and 1 deletions

View File

@ -2023,7 +2023,7 @@ class PlayerPawn : Actor
next = item.Inv;
if (item.InterHubAmount < 1)
{
item.Destroy ();
item.DepleteOrDestroy ();
}
item = next;
}