This commit is contained in:
Anuken
2025-06-05 13:12:08 -04:00
parent 945f916d2c
commit 47c19487fc
2 changed files with 3 additions and 3 deletions

View File

@@ -1149,7 +1149,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
} }
} }
void selectSector(Sector sector){ public void selectSector(Sector sector){
selected = sector; selected = sector;
updateSelected(); updateSelected();
} }

View File

@@ -215,7 +215,7 @@ public class MassDriver extends Block{
@Override @Override
public double sense(LAccess sensor){ public double sense(LAccess sensor){
if(sensor == LAccess.progress) return Mathf.clamp(1f - reloadCounter / reload); if(sensor == LAccess.progress) return Mathf.clamp(1f - reloadCounter);
return super.sense(sensor); return super.sense(sensor);
} }
@@ -305,7 +305,7 @@ public class MassDriver extends Block{
smokeEffect.at(x + Angles.trnsx(angle, translation), y + Angles.trnsy(angle, translation), angle); smokeEffect.at(x + Angles.trnsx(angle, translation), y + Angles.trnsy(angle, translation), angle);
Effect.shake(shake, shake, this); Effect.shake(shake, shake, this);
shootSound.at(tile, Mathf.random(0.9f, 1.1f)); shootSound.at(tile, Mathf.random(0.9f, 1.1f));
} }