Smoother mobile player movement / Cleanup

This commit is contained in:
Anuken
2020-08-20 15:56:40 -04:00
parent 562c41c288
commit dac2264ac7
10 changed files with 12 additions and 38 deletions

View File

@@ -51,7 +51,7 @@ public class SStats implements SteamUserStatsCallback{
this.updated = true;
}
private void checkUpdate(){
void checkUpdate(){
if(campaign()){
SStat.maxUnitActive.max(Groups.unit.count(t -> t.team() == player.team()));
@@ -87,11 +87,11 @@ public class SStats implements SteamUserStatsCallback{
});
//TODO achievement invalid
Events.on(ZoneConfigureCompleteEvent.class, e -> {
//Events.on(ZoneConfigureCompleteEvent.class, e -> {
//if(!content.sectors().contains(z -> !z.canConfigure())){
// configAllZones.complete();
//}
});
//});
Events.run(Trigger.newGame, () -> Core.app.post(() -> {
if(campaign() && player.core() != null && player.core().items.total() >= 10 * 1000){