mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 11:17:11 +07:00
Fixed item bridge input / Fixed sandbox map name/desc
This commit is contained in:
parent
a670ac0aea
commit
7953cc416b
Binary file not shown.
@ -102,7 +102,7 @@ public class CustomGameDialog extends FloatingDialog{
|
||||
image.getImageCell().size(images);
|
||||
image.top();
|
||||
image.row();
|
||||
image.add("[accent]" + Bundles.get("map." + map.name + ".name", map.name)).pad(3f).growX().wrap().get().setAlignment(Align.center, Align.center);
|
||||
image.add("[accent]" + map.getDisplayName()).pad(3f).growX().wrap().get().setAlignment(Align.center, Align.center);
|
||||
image.row();
|
||||
image.label((() -> Bundles.format("text.level.highscore", Settings.getInt("hiscore" + map.name, 0)))).pad(3f);
|
||||
|
||||
|
@ -243,7 +243,7 @@ public class ItemBridge extends Block{
|
||||
|
||||
@Override
|
||||
public boolean acceptItem(Item item, Tile tile, Tile source){
|
||||
if(tile.getTeamID() != source.getTeamID()) return false;
|
||||
if(tile.getTeamID() != source.target().getTeamID()) return false;
|
||||
|
||||
ItemBridgeEntity entity = tile.entity();
|
||||
Tile other = world.tile(entity.link);
|
||||
|
Loading…
Reference in New Issue
Block a user