More bugfixes

This commit is contained in:
Anuken 2019-09-14 21:36:32 -04:00
parent cd456f80a4
commit ed88633712
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,7 @@
package io.anuke.mindustry.ui.fragments;
import io.anuke.arc.function.*;
import io.anuke.arc.graphics.*;
import io.anuke.arc.scene.Group;
import io.anuke.arc.scene.actions.*;
import io.anuke.arc.scene.event.Touchable;
@ -57,6 +58,7 @@ public class LoadingFragment extends Fragment{
}
public void show(String text){
table.<Label>find("namelabel").setColor(Color.white);
bar.visible(false);
table.clearActions();
table.touchable(Touchable.enabled);

View File

@ -76,7 +76,9 @@ public enum SAchievement{
}
public void checkCompletion(){
//TODO
if(!isAchieved() && stat != null && stat.get() >= statGoal){
complete();
}
}
public boolean isAchieved(){