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;
updateSelected();
}

View file

@ -215,7 +215,7 @@ public class MassDriver extends Block{
@Override
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);
}
@ -305,7 +305,7 @@ public class MassDriver extends Block{
smokeEffect.at(x + Angles.trnsx(angle, translation), y + Angles.trnsy(angle, translation), angle);
Effect.shake(shake, shake, this);
shootSound.at(tile, Mathf.random(0.9f, 1.1f));
}