Misc bugfixes

This commit is contained in:
Anuken
2022-05-07 20:44:28 -04:00
parent b3d064b1f7
commit 471504090a
3 changed files with 6 additions and 5 deletions
@@ -28,8 +28,8 @@ public class ReloadTurret extends BaseTurret{
@Override
public void created(){
super.created();
//for visual reasons, the turret does not need reloading when placed
reloadCounter = reload;
//for visual reasons, the turret does not need reloading when placed; however, it should not be *fully* reloaded, so firing will not occur
reloadCounter = reload - 0.0001f;
}
protected void updateCooling(){
@@ -449,7 +449,7 @@ public class Turret extends ReloadTurret{
}
public boolean charging(){
return queuedBullets > 0;
return queuedBullets > 0 && shoot.firstShotDelay > 0;
}
protected void updateReload(){