This commit is contained in:
Anuken
2020-10-31 13:03:19 -04:00
parent 04fcf06ad5
commit 2079cfaece
2 changed files with 13 additions and 9 deletions

View File

@@ -38,7 +38,7 @@ public class Lightning{
random.setSeed(seed);
hit.clear();
BulletType hitCreate = hitter == null ? Bullets.damageLightning : hitter.type.lightningType;
BulletType hitCreate = hitter == null || hitter.type.lightningType == null ? Bullets.damageLightning : hitter.type.lightningType;
Seq<Vec2> lines = new Seq<>();
bhit = false;