v3.0.0: fixed some charsprite vfx not having visibility updated
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user