Skip to content

Commit

Permalink
- account for KEEPDEPLETED flag when destroying items with InterHubAm…
Browse files Browse the repository at this point in the history
…ount of 0 upon leaving a level
  • Loading branch information
Blue-Shadow authored and coelckers committed Mar 19, 2021
1 parent 8ef0254 commit acd553a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wadsrc/static/zscript/actors/player/player.zs
Expand Up @@ -2023,7 +2023,7 @@ class PlayerPawn : Actor
next = item.Inv;
if (item.InterHubAmount < 1)
{
item.Destroy ();
item.DepleteOrDestroy ();
}
item = next;
}
Expand Down

0 comments on commit acd553a

Please sign in to comment.