Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Game Events: fixed a few oversights in 056d7ac
* Fixed assertion failure when removing single-use custom events. Not actually something broken, I just forgot to add a "not already disabled" check when doing so since I added that assertion in event_handler::disable. * Added a message to the aforementioned assertion. * Ensure handler cleanup actually happens when removing custom events. * Account for events with multiple names in cleanup.
- Loading branch information
Showing
2 changed files
with
12 additions
and
9 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