Merge pull request #15384 from SandPoot/acid-bgone

Acid overlay no longer lingers after done
This commit is contained in:
Lin
2021-11-19 23:02:49 +00:00
committed by GitHub
3 changed files with 19 additions and 9 deletions
+6 -2
View File
@@ -596,9 +596,13 @@
//SHOULD_CALL_PARENT(TRUE)
return SEND_SIGNAL(src, COMSIG_ATOM_UPDATE_ICON_STATE)
/// Updates the overlays of the atom
/**
* Builds a list of overlays for the atom, this will not apply them.
* If you need to update overlays, use [update_icon(UPDATE_OVERLAYS)],
* This proc is intended to be overridden.
*/
/atom/proc/update_overlays()
//SHOULD_CALL_PARENT(TRUE)
SHOULD_CALL_PARENT(TRUE)
. = list()
SEND_SIGNAL(src, COMSIG_ATOM_UPDATE_OVERLAYS, .)