Skip to content

Commit

Permalink
Always Discard Inventory Before Respawning
Browse files Browse the repository at this point in the history
  • Loading branch information
Deaod committed Apr 19, 2023
1 parent b60b451 commit 90de9ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/bbPlayer.uc
Original file line number Diff line number Diff line change
Expand Up @@ -5976,6 +5976,7 @@ state Dying
Level.Game.bDeathMatch = false;
}

Level.Game.DiscardInventory(self); // last possible place to rid ourselves of old inventory
Result = Level.Game.RestartPlayer(self);

if (zzUTPure.Settings.bEnablePingCompensatedSpawn)
Expand Down

0 comments on commit 90de9ad

Please sign in to comment.