Repository navigation
Conversation
Collaborator
Author
|
Shipped in 1.2.1 (#349, release v1.2.1). |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
After dying, players said the game went to a loading screen. A knocked-out player sees the view dimmed to the server's vision (black at 0), and some seconds in the game shows its busy seal (its
Progresselement) in the corner and keeps showing it while the player lies there: the black screen with the seal reads as a loading screen that never ends. KCDS already keeps away the knock-out screen's own seal (UI element 0xAF); this one is another element.Progresselement is hidden whenever it shows, looked at four times a second.native_ui::hide_if_shown(name)for it.How it was tested
Kit, one game,
player.setHealth(0, { fall: true })then/reviveafter 25 s. A client script logged which of the game's full-screen elements showed: before the changeProgresscame about 8 s after the knock-out and stayed (the seal bottom right on every screenshot from 10 s); with it, the game showed it twice and it was hidden within a quarter second each time, the screenshots at 15 s and 25 s show no seal, and the revive got the player up as before.Checklist
python Dev/tools/format_source.py --checkpasses.