From c877c3416edf7002cc28a5a10fa5e9e93826b0a2 Mon Sep 17 00:00:00 2001 From: "Matthew (or Maya) Peng" <54301439+MEEPofFaith@users.noreply.github.com> Date: Sat, 5 Feb 2022 13:03:32 -0800 Subject: [PATCH] Reset after drawing bullet. (#6557) --- core/src/mindustry/entities/comp/BulletComp.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/mindustry/entities/comp/BulletComp.java b/core/src/mindustry/entities/comp/BulletComp.java index 788cfaeb8c..4193a823b6 100644 --- a/core/src/mindustry/entities/comp/BulletComp.java +++ b/core/src/mindustry/entities/comp/BulletComp.java @@ -200,6 +200,8 @@ abstract class BulletComp implements Timedc, Damagec, Hitboxc, Teamc, Posc, Draw type.draw(self()); type.drawLight(self()); + + Draw.reset(); } public void initVel(float angle, float amount){