Allow placing floors (for mods)
This commit is contained in:
@@ -169,6 +169,10 @@ public class Build{
|
||||
return false;
|
||||
}
|
||||
|
||||
if(type.isFloor() && tile.floor == type){
|
||||
return false;
|
||||
}
|
||||
|
||||
if(!type.canPlaceOn(tile, team, rotation)){
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user