v0.8.0: fixed lightning vfx working incorrectly on the first frame

This commit is contained in:
Evan Debenham 2019-12-26 23:39:51 -05:00
parent 4ef960e0f9
commit e7540fc8c3

View File

@ -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) {