mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-25 22:58:47 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
f9cc84aeb1
@ -4285,6 +4285,7 @@ public class UnitTypes{
|
||||
engineOffset = 6.5f;
|
||||
payloadCapacity = 0f;
|
||||
targetable = false;
|
||||
bounded = false;
|
||||
|
||||
outlineColor = Pal.darkOutline;
|
||||
isEnemy = false;
|
||||
|
@ -651,7 +651,9 @@ public class Control implements ApplicationListener, Loadable{
|
||||
ui.chatfrag.hide();
|
||||
}else if(!ui.paused.isShown() && !scene.hasDialog()){
|
||||
ui.paused.show();
|
||||
state.set(State.paused);
|
||||
if(!net.active()){
|
||||
state.set(State.paused);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -99,7 +99,7 @@ public class HudFragment{
|
||||
//"waiting for players"
|
||||
parent.fill(t -> {
|
||||
t.name = "waiting";
|
||||
t.visible(() -> netServer.isWaitingForPlayers()).touchable = Touchable.disabled;
|
||||
t.visible(() -> netServer.isWaitingForPlayers() && state.isPaused() && shown).touchable = Touchable.disabled;
|
||||
t.table(Styles.black6, top -> top.add("@waiting.players").style(Styles.outlineLabel).pad(18f));
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user