Skip to content

Fix SRCDS failing to read client cvar defaults#1893

Open
Rainyan wants to merge 2 commits intoNeotokyoRebuild:masterfrom
Rainyan:bug/srcds-cl-net-defaults
Open

Fix SRCDS failing to read client cvar defaults#1893
Rainyan wants to merge 2 commits intoNeotokyoRebuild:masterfrom
Rainyan:bug/srcds-cl-net-defaults

Conversation

@Rainyan
Copy link
Copy Markdown
Collaborator

@Rainyan Rainyan commented Mar 26, 2026

Description

Fix a bug where the SRCDS CBasePlayer constructor attempts to unsuccessfully read default values of client-only cvars. Instead, make constant variables for accessing those values.

The bug was introduced in 07169a7 by yours truly, as part of #1657

Toolchain

  • Windows MSVC VS2022

Linked Issues

@Rainyan Rainyan requested a review from a team March 26, 2026 20:16
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.

Server console error message about interp/updaterate

1 participant