mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-10-06 12:57:17 +03:00
Hide Erekir resources on Serpulo loadout
This commit is contained in:
parent
ec8e48f3f5
commit
a8b8028835
@ -8,7 +8,6 @@ import arc.scene.ui.layout.*;
|
|||||||
import arc.struct.*;
|
import arc.struct.*;
|
||||||
import arc.util.*;
|
import arc.util.*;
|
||||||
import mindustry.content.*;
|
import mindustry.content.*;
|
||||||
import mindustry.ctype.*;
|
|
||||||
import mindustry.game.*;
|
import mindustry.game.*;
|
||||||
import mindustry.gen.*;
|
import mindustry.gen.*;
|
||||||
import mindustry.type.*;
|
import mindustry.type.*;
|
||||||
@ -126,7 +125,7 @@ public class LaunchLoadoutDialog extends BaseDialog{
|
|||||||
ItemSeq realItems = sitems.copy();
|
ItemSeq realItems = sitems.copy();
|
||||||
selected.requirements().each(realItems::remove);
|
selected.requirements().each(realItems::remove);
|
||||||
|
|
||||||
loadout.show(lastCapacity, realItems, out, UnlockableContent::unlocked, out::clear, () -> {}, () -> {
|
loadout.show(lastCapacity, realItems, out, i -> i.unlocked() && !sector.planet.hiddenItems.contains(i), out::clear, () -> {}, () -> {
|
||||||
universe.updateLaunchResources(new ItemSeq(out));
|
universe.updateLaunchResources(new ItemSeq(out));
|
||||||
update.run();
|
update.run();
|
||||||
rebuildItems.run();
|
rebuildItems.run();
|
||||||
|
Loading…
Reference in New Issue
Block a user