Fixed autosave

This commit is contained in:
Anuken
2017-12-29 19:27:21 -05:00
parent b7c8ff4d5b
commit 019cc75fb9
7 changed files with 956 additions and 33 deletions

View File

@@ -2,6 +2,7 @@ package io.anuke.mindustry.ui.fragments;
import static io.anuke.mindustry.Vars.*;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Color;
@@ -148,6 +149,14 @@ public class HudFragment implements Fragment{
}}.end();
}
new table(){{
abottom();
visible(() -> !GameState.is(State.menu) && Vars.control.getSaves().isSaving());
new label("$text.saveload");
}}.end();
blockfrag.build();
}