Skip to content

Fix setting client resolution - #1599

Merged
mtwango merged 1 commit into
Sphereserver:masterfrom
mtwango:screensize-fix
Sep 11, 2026
Merged

mtwango merged 1 commit into
Sphereserver:masterfrom
mtwango:screensize-fix

Conversation

@mtwango

@mtwango mtwango commented Sep 11, 2026

Copy link
Copy Markdown
Member

The height of the player's screen size is now calculated automatically.

This PR only calculates height if width was sent by client and height wasn't, otherwise it takes client sent resolution for both dimensions.

@mtwango
mtwango merged commit b6c9212 into Sphereserver:master Sep 11, 2026
21 checks passed
GladieUO pushed a commit to GladieUO/Source-X-DEV- that referenced this pull request Sep 11, 2026
Only calculate height if width was sent by client and height wasn't, otherwise it takes client sent resolution for both dimensions.
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