mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-15 03:11:07 -07:00
More base generation fixes
This commit is contained in:
parent
eaaa4f9bd8
commit
423d635efe
4 changed files with 1 additions and 1 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -216,7 +216,7 @@ public class BaseGenerator{
|
|||
if(!insanity){
|
||||
for(Stile tile : result.tiles){
|
||||
int realX = tile.x + cx, realY = tile.y + cy;
|
||||
if(isTaken(tile.block, realX, realY)){
|
||||
if(isTaken(tile.block, realX, realY) || (tile.block == Blocks.oilExtractor && tile.block.sumAttribute(Attribute.oil, realX, realY) <= 0.001f)){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue