Fixed bridges not linking when landing
This commit is contained in:
@@ -261,6 +261,8 @@ public class Block extends UnlockableContent implements Senseable{
|
||||
public int selectionRows = 5, selectionColumns = 4;
|
||||
/** If true, this block can be configured by logic. */
|
||||
public boolean logicConfigurable = false;
|
||||
/** If true, configuration is delayed when playing the landing block buildup animation. This may be removed in the future! */
|
||||
public boolean delayLandingConfig;
|
||||
/** Whether this block consumes touchDown events when tapped. */
|
||||
public boolean consumesTap;
|
||||
/** Whether to draw the glow of the liquid for this block, if it has one. */
|
||||
|
||||
@@ -59,6 +59,7 @@ public class ItemBridge extends Block{
|
||||
allowConfigInventory = false;
|
||||
ignoreResizeConfig = true;
|
||||
priority = TargetPriority.transport;
|
||||
delayLandingConfig = true;
|
||||
|
||||
//point2 config is relative
|
||||
config(Point2.class, (ItemBridgeBuild tile, Point2 i) -> tile.link = Point2.pack(i.x + tile.tileX(), i.y + tile.tileY()));
|
||||
|
||||
@@ -50,6 +50,7 @@ public class PowerNode extends PowerBlock{
|
||||
drawDisabled = false;
|
||||
envEnabled |= Env.space;
|
||||
destructible = true;
|
||||
delayLandingConfig = true;
|
||||
|
||||
//nodes do not even need to update
|
||||
update = false;
|
||||
|
||||
Reference in New Issue
Block a user