v3.0.0: fixed some charsprite vfx not having visibility updated

This commit is contained in:
Evan Debenham
2024-10-28 15:02:19 -04:00
parent bf6a31bd11
commit 02e4b1c6e8

View File

@@ -539,9 +539,15 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
if (iceBlock != null) {
iceBlock.visible = visible;
}
if (light != null) {
light.visible = visible;
}
if (chilled != null) {
chilled.visible = visible;
}
if (darkBlock != null) {
darkBlock.visible = visible;
}
if (marked != null) {
marked.visible = visible;
}
@@ -551,6 +557,7 @@ public class CharSprite extends MovieClip implements Tweener.Listener, MovieClip
if (hearts != null) {
hearts.visible = visible;
}
//shield fx updates its own visibility
if (aura != null) {
if (aura.parent == null) {
aura.show(this, 0);