branchrust_reboot/main/fix_item_ownership_bugscancel
2 Commits over 0 Days - Infinitycph!
Fix item ownership not applying when looting an NPC's corpse that has despawned into a body bag before being looted
- add `npccorpsedepspawn` convar to make it easier to test NPC corpse bags
- apply item ownership inside body bag if the steam ID is an NPC
Fix item ownership not applying to items looted from containers if a player partially loots it then the loot refreshes afterwards
- avoids guns and armor very rarely appearing on servers with no ownership