Don't show 'waiting for players' when not paused
This commit is contained in:
@@ -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));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user