From 461ac979988bd935c9f3182a8d7d1d3d60d12d2e Mon Sep 17 00:00:00 2001 From: Anuke Date: Sun, 6 Mar 2022 14:29:39 -0500 Subject: [PATCH] Frag bullet keepVelocity false --- core/src/mindustry/entities/bullet/BulletType.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/mindustry/entities/bullet/BulletType.java b/core/src/mindustry/entities/bullet/BulletType.java index db147ccaff..adeb370738 100644 --- a/core/src/mindustry/entities/bullet/BulletType.java +++ b/core/src/mindustry/entities/bullet/BulletType.java @@ -468,6 +468,10 @@ public class BulletType extends Content implements Cloneable{ } } + if(fragBullet != null){ + fragBullet.keepVelocity = false; + } + if(lightningType == null){ lightningType = !collidesAir ? Bullets.damageLightningGround : Bullets.damageLightning; }