mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-20 17:28:14 +07:00
why was this here
This commit is contained in:
parent
0e799970e9
commit
c3ce23731d
@ -197,16 +197,6 @@ public class MapIO{
|
||||
|
||||
//guess at floors by grabbing a random adjacent floor
|
||||
for(Tile tile : tiles){
|
||||
if(tile.floor() == Blocks.air && tile.block() != Blocks.air){
|
||||
for(Point2 p : Geometry.d4){
|
||||
Tile other = tiles.get(tile.x + p.x, tile.y + p.y);
|
||||
if(other != null && other.floor() != Blocks.air){
|
||||
tile.setFloorUnder(other.floor());
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//default to stone floor
|
||||
if(tile.floor() == Blocks.air){
|
||||
tile.setFloorUnder((Floor)Blocks.stone);
|
||||
|
Loading…
Reference in New Issue
Block a user