why variable here

This commit is contained in:
MEEP of Faith
2020-09-24 20:34:02 -07:00
committed by GitHub
parent 55e25cc509
commit 9f26979419

View File

@@ -184,8 +184,7 @@ public abstract class BulletType extends Content{
}
for(int i = 0; i < lightning; i++){
float litA = b.rotation() + Mathf.range(lightningCone/2) + lightningAngle;
Lightning.create(b, lightningColor, lightningDamage < 0 ? damage : lightningDamage, b.x, b.y, litA, lightningLength + Mathf.random(lightningLengthRand));
Lightning.create(b, lightningColor, lightningDamage < 0 ? damage : lightningDamage, b.x, b.y, b.rotation() + Mathf.range(lightningCone/2) + lightningAngle, lightningLength + Mathf.random(lightningLengthRand));
}
}