mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-07 14:01:51 +07:00
Fixed #3709
This commit is contained in:
parent
430538ea7e
commit
775e17a726
@ -714,8 +714,14 @@ public class TechTree implements ContentList{
|
||||
finishedRequirements[i] = new ItemStack(requirements[i].item, Core.settings == null ? 0 : Core.settings.getInt("req-" + content.name + "-" + requirements[i].item.name));
|
||||
}
|
||||
|
||||
var used = new ObjectSet<Content>();
|
||||
|
||||
//add dependencies as objectives.
|
||||
content.getDependencies(d -> objectives.add(new Research(d)));
|
||||
content.getDependencies(d -> {
|
||||
if(used.add(d)){
|
||||
objectives.add(new Research(d));
|
||||
}
|
||||
});
|
||||
|
||||
map.put(content, this);
|
||||
all.add(this);
|
||||
|
@ -75,7 +75,7 @@ public class Weathers implements ContentList{
|
||||
attrs.set(Attribute.spores, 1f);
|
||||
attrs.set(Attribute.light, -0.15f);
|
||||
status = StatusEffects.sporeSlowed;
|
||||
opacityMultiplier = 0.75f;
|
||||
opacityMultiplier = 0.5f;
|
||||
force = 0.1f;
|
||||
sound = Sounds.wind;
|
||||
soundVol = 0.7f;
|
||||
|
5
fastlane/metadata/android/en-US/changelogs/29744.txt
Normal file
5
fastlane/metadata/android/en-US/changelogs/29744.txt
Normal file
@ -0,0 +1,5 @@
|
||||
[This is a truncated changelog, see Github for full notes]
|
||||
Yeah, it's another hotfix. I missed these during earlier testing.
|
||||
|
||||
- Fixed research deadlock caused by blocks requiring optional inputs as research
|
||||
- Possible fix for "Unsupported combination of formats" startup error
|
Loading…
Reference in New Issue
Block a user