branchwiseguys/main/CharacterCleanupcancel
11 Commits over 0 Days - ∞cph!
Proxy players don't need inventory at all, only server and owner do. Removing inventory from proxys.
Continuing to refactor things out of the general character into more specific sub-areas. Motor this time.
Doing the same thing to inputs - Moving from the base Character to the server and owner, removing references from proxy.
A lot of changes here, but the main task completed is that a character's UnifiedInventory now only resides in the owner client and server, and not in the proxy.
Fixed ordering issue on vehicle exit, which causes item icons to not update correctly
Fixed player damage not working
Merge in the latest from Main.
NPC inventory no longer needs to sync to clients at all. I needed to change how ammo is sourced so that the item doesn't need to be created for the HeldItem - it's now just a prefab reference on the HeldItem gun, which will lose support for using multiple ammo types in the same gun, but we don't do that anyway.
Fix for error if player gets a welfare notification right as they die.