Files
Bubberstation/code/datums/mutations
SkyratBot ec7bb984af [MIRROR] Fix lingering alpha issues when the Chameleon mutation is removed. (#8155)
* Fix lingering alpha issues when the Chameleon mutation is removed. (#61444)

The Chameleon mutation registers COMSIG_HUMAN_EARLY_UNARMED_ATTACK when it is gained, but never unregisters it when it is lost.

Mutation datums aren't necessarily deleted and can sit in the DNA dormant until activated, as a result there's no nice qdel() handler to clean up the mess.

An example of this is a changeling with Chameleon skin, that adds/activates/deactivates the Chameleon mutation as required.

Honestly, this could probably be refactored into a component since the behaviour is pretty generic and can mostly be applied to any atom. That is a bit more work for another day and a good first PR for someone to learn how to make components.

This at least fixes the underlying issue.

* Fix lingering alpha issues when the Chameleon mutation is removed.

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2021-09-15 03:28:44 +01:00
..
2021-08-28 02:10:59 +01:00
2021-08-08 22:05:10 +01:00
2021-09-06 07:55:13 -04:00