Better warmup for Erekir turrets

This commit is contained in:
Anuken
2024-09-27 14:23:48 -04:00
parent b2041194da
commit 339af6b3cc
2 changed files with 4 additions and 3 deletions

View File

@@ -371,7 +371,7 @@ public class Turret extends ReloadTurret{
if(!validateTarget()) target = null;
float warmupTarget = (isShooting() && canConsume()) || charging() ? 1f : 0f;
if(warmupTarget > 0 && shootWarmup >= minWarmup && !isControlled()){
if(warmupTarget > 0 && !isControlled()){
warmupHold = 1f;
}
if(warmupHold > 0f){