Merge branches 'asset-manager' and 'master' of https://github.com/Anuken/Mindustry

This commit is contained in:
Anuken
2019-08-27 19:40:13 -04:00
4 changed files with 27 additions and 2 deletions

View File

@@ -33,7 +33,9 @@ public class MirrorFilter extends GenerateFilter{
mirror(v3, v1.x, v1.y, v2.x, v2.y);
Tile tile = in.tile(v3.x, v3.y);
in.floor = tile.floor();
in.block = tile.block();
if(!tile.block().synthetic()){
in.block = tile.block();
}
in.ore = tile.overlay();
}
}

View File

@@ -101,7 +101,7 @@ public class MendProjector extends Block{
@Override
public void drawPlace(int x, int y, int rotation, boolean valid){
Drawf.dashCircle(x * tilesize, y * tilesize, range, Pal.accent);
Drawf.dashCircle(x * tilesize + offset(), y * tilesize + offset(), range, Pal.accent);
}
@Override