mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-11 01:10:46 -07:00
Fixed overlay floor placement checks in in-game editor
This commit is contained in:
parent
c2108a3ce5
commit
fb37ecd1a8
2 changed files with 4 additions and 1 deletions
|
|
@ -79,6 +79,9 @@ public class ConstructBlock extends Block{
|
|||
tile.setOverlay(overlay);
|
||||
}else if(block instanceof Floor floor){
|
||||
tile.setFloor(floor);
|
||||
if(!(tile.overlay() instanceof OverlayFloor) && !floor.supportsOverlay){
|
||||
tile.setOverlay(Blocks.air);
|
||||
}
|
||||
}else{
|
||||
tile.setBlock(block, team, rotation);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,4 +26,4 @@ org.gradle.caching=true
|
|||
org.gradle.internal.http.socketTimeout=100000
|
||||
org.gradle.internal.http.connectionTimeout=100000
|
||||
android.enableR8.fullMode=false
|
||||
archash=8bbe39d0f6
|
||||
archash=45317fae60
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue