Placeable overlays

This commit is contained in:
Anuken
2023-05-10 12:48:41 -04:00
parent 0acb112f29
commit cac29c4ecc
3 changed files with 6 additions and 3 deletions

View File

@@ -169,7 +169,7 @@ public class Build{
return false;
}
if(type.isFloor() && tile.floor == type){
if((type.isFloor() && tile.floor() == type) || (type.isOverlay() && tile.overlay() == type)){
return false;
}