Skip to content

fix desync with modern resizable#141

Merged
Lexer747 merged 2 commits into
ngraves95:mainfrom
Lexer747:pr-112-desync
May 11, 2026
Merged

fix desync with modern resizable#141
Lexer747 merged 2 commits into
ngraves95:mainfrom
Lexer747:pr-112-desync

Conversation

@Lexer747
Copy link
Copy Markdown
Collaborator

Summary

Fixes #112

Once I finally had a repro I could figure out that the varclientint 384 the plugin was relying on to tell when you swapped weapon, this varclientint is also updated anytime you swap tabs in resizeable modern only!

This PR fixes this by just removing our use of that 384 var client and instead move the fast weapon swapping code to be in the onRender functionality. That seems to fix everything :)

Testing

java_iFbhyt5sZd.mp4

See the updated tests too.

@Lexer747 Lexer747 merged commit 16a3968 into ngraves95:main May 11, 2026
1 check passed
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.

Constantly desyncing

1 participant