can no longer build if already has hotel

This commit is contained in:
Johannes Schmelz 2024-12-03 12:30:34 +01:00
parent 8e3cf9c31e
commit 1369de865a

View File

@ -119,10 +119,10 @@ public class BoardManager {
return false; // Null check for safety
}
//Check for mortage
// if (field.isMortgaged()) {
// return false;
// }
//Check for hotel
if (field.getHotel() == 1) {
return false;
}
// Get the color group of the property
FieldColor groupColor = field.getColor();