nosoop / SM-TFCustomWeaponsX

SourceMod plugin that allows players to use custom TF2 items.
GNU General Public License v3.0
21 stars 11 forks source link

Add stricter class-visible loadout slot checks #19

Open nosoop opened 3 years ago

nosoop commented 3 years ago

bitsSlotVisibility controls which items are valid for slots, but we only check this at item parse time.

Item assignments from before this change will persist (and at the moment, will be applied), but there is no way to access them. We should simply ignore those slots; maybe log a warning or provide an SQL script to clean up unused items.

We should also validate the inventory slot against the item data.