Skip to content

[TF2] Fix disguise bodygroups being tied to the disguise target #1284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gidi30
Copy link

@gidi30 gidi30 commented May 15, 2025

Description

Currently disguise wearables will set the disguise bodygroup of a disguised Spy based on the current model of the disguise target which causes the disguise to look incorrect if the disguise target changes models or disconnects.

This PR aims to fix this by making it based on the disguise players model and moving the code that does it to the client where the player has the correct model.
It will also always reset the disguise bodygroup when the bodygroup are recalculated.

Before:

2025-05-15.21-24-32.mp4

After:

2025-05-15.21-40-18.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant