Incorrect reset (#6477)

This commit is contained in:
Matthew (or Maya) Peng
2022-01-08 18:34:12 -08:00
committed by GitHub
parent f8af593177
commit 9825d2f746

View File

@@ -269,7 +269,7 @@ public class Turret extends ReloadTurret{
}
if(hasAmmo()){
if(Float.isNaN(reload)) rotation = 0;
if(Float.isNaN(reload)) reload = 0;
if(timer(timerTarget, targetInterval)){
findTarget();