Skip to content

Fix automatic language detection on CS:GO (bug 6163).#124

Merged
psychonic merged 1 commit intomasterfrom
csgo-cl-language
Aug 11, 2014
Merged

Fix automatic language detection on CS:GO (bug 6163).#124
psychonic merged 1 commit intomasterfrom
csgo-cl-language

Conversation

@psychonic
Copy link
Copy Markdown
Member

As noted in bug 6163, cl_language is no longer available as a userinfo var in CS:GO, breaking our automatic client language detection.

However, it does still exist, albeit hidden on the client. We are able to query the value.

There are some drawbacks to this compared to getting it from userinfo (inconsistent behavior across games, language not being available until shortly after PutInServer rather than Connect on CS:GO, extra logic running for every convar query in CS:GO), but I think that it's still better than nothing.

@asherkin
Copy link
Copy Markdown
Member

🚢

psychonic added a commit that referenced this pull request Aug 11, 2014
Fix automatic language detection on CS:GO (bug 6163) (r=asherkin).
@psychonic psychonic merged commit 25f8570 into master Aug 11, 2014
@psychonic psychonic deleted the csgo-cl-language branch September 5, 2014 23:49
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.

2 participants