mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-13 19:39:04 +07:00
Fixed #3140
This commit is contained in:
parent
909da9de3c
commit
8d7f96bf00
@ -54,6 +54,11 @@ public class MapGenerateDialog extends BaseDialog{
|
||||
protected void changeBuild(Team team, Prov<Building> entityprov, int rotation){
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setBlock(Block type, Team team, int rotation, Prov<Building> entityprov){
|
||||
this.block = type;
|
||||
}
|
||||
};
|
||||
|
||||
/** @param applied whether or not to use the applied in-game mode. */
|
||||
|
@ -105,7 +105,7 @@ abstract class MinerComp implements Itemsc, Posc, Teamc, Rotc, Drawc, Unitc{
|
||||
float ex = mineTile.worldx() + Mathf.sin(Time.time() + 48, swingScl, swingMag);
|
||||
float ey = mineTile.worldy() + Mathf.sin(Time.time() + 48, swingScl + 2f, swingMag);
|
||||
|
||||
Draw.z(Layer.flyingUnitLow - 0.1f);
|
||||
Draw.z(multimine ? Layer.flyingUnit + 0.1f : Layer.flyingUnitLow - 0.1f);
|
||||
|
||||
Draw.color(Color.lightGray, Color.white, 1f - flashScl + Mathf.absin(Time.time(), 0.5f, flashScl));
|
||||
|
||||
|
@ -36,7 +36,7 @@ public class OverlayRenderer{
|
||||
|
||||
public void drawTop(){
|
||||
|
||||
if(!player.dead()){
|
||||
if(!player.dead() && ui.hudfrag.shown){
|
||||
if(Core.settings.getBool("playerindicators")){
|
||||
for(Player player : Groups.player){
|
||||
if(Vars.player != player && Vars.player.team() == player.team()){
|
||||
|
@ -92,7 +92,7 @@ public class HudFragment extends Fragment{
|
||||
//paused table
|
||||
parent.fill(t -> {
|
||||
t.name = "paused";
|
||||
t.top().visible(() -> state.isPaused()).touchable = Touchable.disabled;
|
||||
t.top().visible(() -> state.isPaused() && shown).touchable = Touchable.disabled;
|
||||
t.table(Styles.black5, top -> top.add("@paused").style(Styles.outlineLabel).pad(8f)).growX();
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user