Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor MP connection code to avoid constantly creating loading screens
Previously, the use of the wesnothd_connect_dialog and wesnothd_receive_dialog wrappers meant multiple loading screen instances were created when connecting to MP. This change means only one (or two, if the config is reloaded) loading screen objects are created when connecting to the server. It also ensures the entire connection process (ie, the extent of open_connection) is done with a loading screen displayed.
- Loading branch information
1 parent
dddd0c9
commit 386336c
Showing
3 changed files
with
72 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters