mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 22:12:16 -08:00
Fixed #10901
This commit is contained in:
parent
945f916d2c
commit
47c19487fc
2 changed files with 3 additions and 3 deletions
|
|
@ -1149,7 +1149,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
|||
}
|
||||
}
|
||||
|
||||
void selectSector(Sector sector){
|
||||
public void selectSector(Sector sector){
|
||||
selected = sector;
|
||||
updateSelected();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue