-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AssetManager: prevent removal of Player assets
Player assets are special and the code assumes they are never deleted. They also utilize setting the dead flag to emit a DCT asset dead event so that ticket accounting is done properly. This unfortunately makes Player assets look dead to the rest of the system and so we need to teach the Player assets to appear to the rest of the system that they are not dead while keeping the nice inherited functionality of sending a dead event. Fixes: 07f24fd ("asset manager: check if assets are dead")
- Loading branch information
Showing
2 changed files
with
10 additions
and
5 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