Reset after drawing bullet. (#6557)

This commit is contained in:
Matthew (or Maya) Peng 2022-02-05 13:03:32 -08:00 committed by GitHub
parent 126baa93d7
commit c877c3416e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,6 +200,8 @@ abstract class BulletComp implements Timedc, Damagec, Hitboxc, Teamc, Posc, Draw
type.draw(self()); type.draw(self());
type.drawLight(self()); type.drawLight(self());
Draw.reset();
} }
public void initVel(float angle, float amount){ public void initVel(float angle, float amount){