mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-12 19:09:34 +07:00
Fixed #7733
This commit is contained in:
parent
8030caea76
commit
d644cbd93e
@ -393,7 +393,7 @@ public class ErekirTechTree{
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
node(peaks, Seq.with(new SectorComplete(marsh), new SectorComplete(split)), () ->{
|
node(peaks, Seq.with(new SectorComplete(marsh), new SectorComplete(split)), () -> {
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -377,6 +377,7 @@ public class Logic implements ApplicationListener{
|
|||||||
public static void researched(Content content){
|
public static void researched(Content content){
|
||||||
if(!(content instanceof UnlockableContent u)) return;
|
if(!(content instanceof UnlockableContent u)) return;
|
||||||
|
|
||||||
|
//TODO node is wrong for shared tech nodes
|
||||||
var node = u.techNode;
|
var node = u.techNode;
|
||||||
|
|
||||||
//unlock all direct dependencies on client, permanently
|
//unlock all direct dependencies on client, permanently
|
||||||
|
@ -15,7 +15,7 @@ public class ArmoredConduit extends Conduit{
|
|||||||
@Override
|
@Override
|
||||||
public boolean blends(Tile tile, int rotation, int otherx, int othery, int otherrot, Block otherblock){
|
public boolean blends(Tile tile, int rotation, int otherx, int othery, int otherrot, Block otherblock){
|
||||||
return (otherblock.outputsLiquid && blendsArmored(tile, rotation, otherx, othery, otherrot, otherblock)) ||
|
return (otherblock.outputsLiquid && blendsArmored(tile, rotation, otherx, othery, otherrot, otherblock)) ||
|
||||||
(lookingAt(tile, rotation, otherx, othery, otherblock) && otherblock.hasLiquids);
|
(lookingAt(tile, rotation, otherx, othery, otherblock) && otherblock.hasLiquids) || otherblock instanceof LiquidJunction;
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ArmoredConduitBuild extends ConduitBuild{
|
public class ArmoredConduitBuild extends ConduitBuild{
|
||||||
|
Loading…
Reference in New Issue
Block a user