-
-
Notifications
You must be signed in to change notification settings - Fork 11
Spy disguise weapons not updating when swapping disguises to spy from another class [TF2items Manager] #12
Description
If a spy is on the other team and uses a revolver with modified attributes he will not be able to change the disguise weapon to that revolver. This also causes the weapons not to update. E.g. When disguised as a demoman and swapping disguise to spy the Grenade launcher will still render on the spy. If all of the spies weapons have modified attributes he is not able to change disguise weapons at all.
If your first disguise is a spy with the above conditions you will not be able to swap to any of the modified disguise weapons, and will only have a sapper. On some cases the disguise will fallback to a random players weapons like a rocket launcher and show as a T Pose.
This only affects spy disguises!
Steps to reproduce the behavior of the first issue:
- Modify any attributes of a spy weapon and let an enemy spy equip it (eg revolver)
- Disguise as any class except spy
- Swap disguise to spy
Steps to reproduce the behavior of the second issue:
- Modify any attributes of a spy weapon and equip it (eg revolver)
- Disguise as spy with an enemy spy with modified attributes
Expected behavior
Swap disguise weapons as normal, Don't render previous disguise weapons
Environment
- Sourcemod 1.10.0.6502
- Metamod 1.11.0-dev+1144
- Ubuntu 20.04.2 LTS
