There is an issue with the body cleanup / despawn system when interacting with corpses. If a fallen player or AI reaches its despawn time threshold while another player is currently searching their body, the corpse vanishes immediately right out of the player's active inventory screen.
Active interaction with a fallen character's inventory should pause or delay the despawn sequence to prevent interrupting the looting process.
Steps to Reproduce:
Locate a dead character/corpse that is close to its despawn timer expiration.
Open the corpse's inventory screen and begin looting equipment.
Wait for the despawn timer to hit zero while keeping the inventory screen open.
Observe the body completely vanishing and the inventory menu abruptly closing/disappearing mid-interaction.
Expected Result: Opening a corpse's inventory should temporarily pause or extend the despawn timer until the player closes the inventory menu.
Actual Result: The body despawns instantly during active inventory management, kicking the player out of the UI and causing lost items.