Skip to content

Commit

Permalink
Change game state before showing login busy dialog when logging in. E…
Browse files Browse the repository at this point in the history
…nsures dialog can be closed.
  • Loading branch information
ethanmoffat committed Mar 4, 2022
1 parent 9e37d65 commit 44cb872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EndlessClient/Controllers/LoginController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ public async Task LoginToCharacter(ICharacter character)
{
// https://discord.com/channels/723989119503696013/787685796055482368/946634672295784509
// Sausage: 'I have WELCOME_REPLY 3 as returning a "server is busy" message if you send it and then disconnect the client'
_errorDisplayAction.ShowLoginError(LoginReply.Busy);
_gameStateActions.ChangeToState(GameStates.Initial);
_errorDisplayAction.ShowLoginError(LoginReply.Busy);
return;
}

Expand Down

0 comments on commit 44cb872

Please sign in to comment.