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

Fix TGUI choice dialog not respecting the default option #22823

Merged

Conversation

hedgehog1029
Copy link
Contributor

Document the changes in your pull request

Make the TGUI choice dialog show the current/default selection instead of always starting on the first option.

This unifies the behaviour of tgui input with the classic DM input dialog.

Why is this good for the game?

Now the "adjust suit sensors" dialog actually shows you what your suit sensors are set to, like it used to before the switch to TGUI:

image

Testing

Changes compile & run, screenshot above taken with changes.

Changelog

🆑
bugfix: Made the suit sensors dialog show your current sensor setting again
/:cl:

@Yogbot-13 Yogbot-13 added Fix This fixes an issue. Please link issues in fix PRs Javascript This PR contains javascript code. labels Nov 27, 2024
@github-actions github-actions bot added the tgui This PR affects TGUI label Nov 27, 2024
@ToasterBiome ToasterBiome merged commit 9efd9b7 into yogstation13:master Nov 30, 2024
15 checks passed
Yogbot-13 added a commit that referenced this pull request Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix This fixes an issue. Please link issues in fix PRs Javascript This PR contains javascript code. tgui This PR affects TGUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants