v0.8.0: fixed lightning vfx working incorrectly on the first frame
This commit is contained in:
parent
4ef960e0f9
commit
e7540fc8c3
|
@ -137,6 +137,8 @@ public class Lightning extends Group {
|
|||
arc2 = new Image(Effects.get(Effects.Type.LIGHTNING));
|
||||
arc2.origin.set( 0, arc2.height()/2 );
|
||||
add( arc2 );
|
||||
|
||||
update();
|
||||
}
|
||||
|
||||
public void alpha(float alpha) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user