Skip to content

Fix unregister flow showing the rules dialog even though it's disabled#3

Open
AfkF24 wants to merge 1 commit into
TejasLamba2006:mainfrom
AfkF24:main
Open

Fix unregister flow showing the rules dialog even though it's disabled#3
AfkF24 wants to merge 1 commit into
TejasLamba2006:mainfrom
AfkF24:main

Conversation

@AfkF24
Copy link
Copy Markdown

@AfkF24 AfkF24 commented Apr 10, 2026

Closes #2

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes the unregistration flow so that players are no longer shown the Rules dialog when rules-dialog.enabled: false, aligning the behavior with the configured dialog flow after an unregister.

Changes:

  • Replace direct Rules dialog presentation on unregister events with DialogManager.presentAuthDialog(..., false) so the config-driven choice (Rules vs Registration) is respected for unregistered players.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

Rules dialog gets shown on unregistration even though it's disabled in config

2 participants