Closed ioxu closed 2 years ago
dui_root._on_inventory_changed
checks if weapon_inv_slots is different to inventory.n_weapons
, adds new weapon slots?
Or should it remove all and re-add the correct amount, reparenting weapons?
Just measure difference and add more if needed. Good enough for now.
Sort out what happens when picking up multiple weapons into inventory.