v0.7.4: fixed boomerang return vfx not pausing actor movement
This commit is contained in:
parent
990599d2ad
commit
666ef81363
|
@ -115,12 +115,14 @@ public class HeavyBoomerang extends MissileWeapon {
|
|||
} else {
|
||||
Dungeon.level.drop(boomerang, returnPos).sprite.drop();
|
||||
}
|
||||
CircleBack.this.next();
|
||||
}
|
||||
});
|
||||
visual.alpha(0f);
|
||||
float duration = Dungeon.level.trueDistance(thrownPos, returnPos) / 20f;
|
||||
Dungeon.hero.sprite.parent.add(new AlphaTweener(visual, 1f, duration));
|
||||
detach();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
spend( TICK );
|
||||
|
|
Loading…
Reference in New Issue
Block a user