Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Admin] Makes the lag switch subsystem work #22958

Merged
merged 3 commits into from
Jan 14, 2025

Conversation

Oblisk234
Copy link
Member

@Oblisk234 Oblisk234 commented Jan 13, 2025

Document the changes in your pull request

The lag switch was added as part of #21221, but hasn't been touched since, meaning that it didn't do much since barely anyone knew that it existed (apart from those who see it while it's init'ing and think that it causes lag). Therefore, I went and made it work like it was intended to do, mostly.

  • Makes the lag switch subsystem do something, rather than doing one thing to parallax.
  • Moved the lag switch file to the subsystems folder.
  • Added an admin verb for toggling the lag switch measures (requires +SERVER).

Why is this good for the game?

The admin verb is self-explanatory, no one wants to proc call a subsystem.

Testing

2025-01-13.00-39-58.mp4
Lag Switch panel

Changelog

🆑
bugfix: The lag switch subsystem now works towards mitigating lag than doing barely anything.
rscadd: Added an admin verb to enable lag switch measures.
/:cl:

@Yogbot-13 Yogbot-13 added DME Edit This PR affects the yogstation.DME file Feature This adds new content to the game Fix This fixes an issue. Please link issues in fix PRs labels Jan 13, 2025
@github-actions github-actions bot added Admin This PR affects administrators tgui This PR affects TGUI labels Jan 13, 2025
@ynot01 ynot01 merged commit cd1aca6 into yogstation13:master Jan 14, 2025
15 checks passed
Yogbot-13 added a commit that referenced this pull request Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin This PR affects administrators DME Edit This PR affects the yogstation.DME file Feature This adds new content to the game Fix This fixes an issue. Please link issues in fix PRs tgui This PR affects TGUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants