v0.4.3b: fixed bugs with attack indicator
This commit is contained in:
parent
0f30fb19ce
commit
646a34d2e9
|
@ -73,7 +73,7 @@ public class AttackIndicator extends Tag {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void update() {
|
||||
public synchronized void update() {
|
||||
super.update();
|
||||
|
||||
if (!bg.visible){
|
||||
|
@ -95,7 +95,7 @@ public class AttackIndicator extends Tag {
|
|||
}
|
||||
}
|
||||
|
||||
private void checkEnemies() {
|
||||
private synchronized void checkEnemies() {
|
||||
|
||||
candidates.clear();
|
||||
int v = Dungeon.hero.visibleEnemies();
|
||||
|
|
Loading…
Reference in New Issue
Block a user