Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixes #4644. * Initialize all battleground queues at startup to reduce overhead of creation/deletion during live server. * Removes lots of duplicate code between team checks. * Adds missing checks for script commands bg_leave and bg_desert to only warp players out using the Battleground Queue System. * Adds documentation for script commands bg_leave and bg_desert to state players will be warped out after when using the Battleground Queue System. * Optimizes join logic to add new players to the end of the queue rather than the front. * Cleans up the client messages so certain responses are cleared when they need to be. Thanks to @Balferian and @Lemongrass3110!
- Loading branch information
Showing
9 changed files
with
169 additions
and
368 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
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
Oops, something went wrong.