Fixed Salt Flats being deadlocked
This commit is contained in:
@@ -38,13 +38,12 @@ public enum SAchievement{
|
||||
buildAllUnits(SStat.unitTypesBuilt, 30),
|
||||
buildT5,
|
||||
pickupT5,
|
||||
activeAllT5,
|
||||
active10Polys,
|
||||
dieExclusion,
|
||||
drown,
|
||||
fillCoreAllCampaign,
|
||||
hostServer10(SStat.maxPlayersServer, 10),
|
||||
buildMeltdownSpectreForeshadow,
|
||||
buildMeltdownSpectre, //technically inaccurate
|
||||
launchItemPad,
|
||||
chainRouters,
|
||||
circleConveyor,
|
||||
|
||||
@@ -65,13 +65,6 @@ public class SStats implements SteamUserStatsCallback{
|
||||
active10Polys.complete();
|
||||
}
|
||||
|
||||
tmpSet.clear();
|
||||
tmpSet.addAll(t5s);
|
||||
Groups.unit.each(u -> tmpSet.remove(u.type));
|
||||
if(tmpSet.size == 0){
|
||||
activeAllT5.complete();
|
||||
}
|
||||
|
||||
for(Building entity : player.team().cores()){
|
||||
if(!content.items().contains(i -> entity.items.get(i) < entity.block.itemCapacity)){
|
||||
fillCoreAllCampaign.complete();
|
||||
@@ -141,7 +134,7 @@ public class SStats implements SteamUserStatsCallback{
|
||||
|
||||
if(blocksBuilt.add(e.tile.block().name)){
|
||||
if(blocksBuilt.contains("meltdown") && blocksBuilt.contains("spectre") && blocksBuilt.contains("foreshadow")){
|
||||
buildMeltdownSpectreForeshadow.complete();
|
||||
buildMeltdownSpectre.complete();
|
||||
}
|
||||
|
||||
save();
|
||||
|
||||
Reference in New Issue
Block a user