Skip to content

Predict Handcuffs Component#43679

Open
SirWarock wants to merge 2 commits intospace-wizards:masterfrom
SirWarock:Fix-Cuffs-Sound
Open

Predict Handcuffs Component#43679
SirWarock wants to merge 2 commits intospace-wizards:masterfrom
SirWarock:Fix-Cuffs-Sound

Conversation

@SirWarock
Copy link
Copy Markdown
Contributor

About the PR

I predicted the HandCuffs component.
There was an issue with it where uncuffing yourself would create no sound, because the Used field was never updated on the clientside, but the client-side sound wouldn't fire if Used was false.
Also, since I was there, I fixed the IsServer() check by replacing them with predictedqueueDel and PredictedSpawnAt.
The overlay however is not yet predicted. (The sprite of the Urist being cuffed even though the cuffs are gone already)
Fixes #15896

Why / Balance

Bugfix + Prediction.

Technical details

Just code clean up really.

Media

Requirements

Breaking changes

Changelog

🆑

  • fix: Fixed Cuffs not making sounds when uncuffing yourself!

@PJBot PJBot added S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. S: Needs Review Status: Requires additional reviews before being fully accepted. Not to be replaced by S: Approved. size/M Denotes a PR that changes 100-999 lines. labels Apr 21, 2026
@SirWarock
Copy link
Copy Markdown
Contributor Author

Never name your commits "Fix". You invite test fails.

@Pok27 Pok27 added P3: Standard Priority: Default priority for repository items. T: Cleanup Type: Code clean-up, without being a full refactor or feature D2: Medium Difficulty: A good amount of codebase knowledge required. T: Prediction Type: Moving code to Content.Shared and making it predicted. and removed S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. labels Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

D2: Medium Difficulty: A good amount of codebase knowledge required. P3: Standard Priority: Default priority for repository items. S: Needs Review Status: Requires additional reviews before being fully accepted. Not to be replaced by S: Approved. size/M Denotes a PR that changes 100-999 lines. T: Cleanup Type: Code clean-up, without being a full refactor or feature T: Prediction Type: Moving code to Content.Shared and making it predicted.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cuffs need predicting

3 participants