Wearables disappear on role change.
Version: 14.1.0
Branch: Release (stable) branch
Timestamp: 2025/05/31 20:57:57
Server Name: Dr Bright's
Description
Wearables such as armor or SCP-1344 disappear from the thirdperson model of a player when they change role. This is caused by WearableSync.OnServerRoleSet overriding wearables to None, but nothing seems to set them back afterwards based on the player's inventory and SCP-1344 state.
Steps to reproduce
-
Spawn a player or a dummy as MTF Captain so they get armor.
-
Change their role to Class-D without use spawnpoint & reset inventory enabled.
-
Watch as their model has no armor.
-
If you make them drop their inventory, they will drop armor.
What is supposed to happen
Wearables are supposed to match the player's inventory and SCP-1344 state.
What actually happens
The player looks like they have no wearables.