Fixed sector gameover ghost bug

This commit is contained in:
Anuken
2020-11-20 12:38:16 -05:00
parent aa2783a885
commit 1372fc4079
8 changed files with 20 additions and 7 deletions

View File

@@ -90,7 +90,7 @@ public class HudFragment extends Fragment{
parent.fill(t -> {
t.name = "paused";
t.top().visible(() -> state.isPaused() && shown).touchable = Touchable.disabled;
t.table(Styles.black5, top -> top.add("@paused").style(Styles.outlineLabel).pad(8f)).growX();
t.table(Styles.black5, top -> top.label(() -> state.gameOver && state.isCampaign() ? "@sector.curlost" : "@paused").style(Styles.outlineLabel).pad(8f)).growX();
});
//minimap + position