Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mouse events: don't keep around references to fighting units
Keeping references is bad if a unit dies and the dying unit has a halo and a long-running listener for the "last breath" event, like in AtS E2 S10. In that case keeping the reference means that the halo will remain as long as the event runs. Closes #3673.
- Loading branch information
Showing
2 changed files
with
40 additions
and
14 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