We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99195f0 commit 9ff36aeCopy full SHA for 9ff36ae
core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/ActionIndicator.java
@@ -96,10 +96,12 @@ public synchronized void update() {
96
97
if (needsRefresh){
98
if (primaryVis != null) {
99
+ primaryVis.destroy();
100
primaryVis.killAndErase();
101
primaryVis = null;
102
}
103
if (secondVis != null){
104
+ secondVis.destroy();
105
secondVis.killAndErase();
106
secondVis = null;
107
@@ -112,11 +114,11 @@ public synchronized void update() {
112
114
add(secondVis);
113
115
116
- needsRefresh = true;
117
setColor(action.indicatorColor());
118
119
120
layout();
121
+ needsRefresh = false;
122
123
124
if (!Dungeon.hero.ready){
0 commit comments