price settings

This commit is contained in:
Johannes Schmelz 2024-12-03 01:09:00 +01:00
parent 831974cb63
commit 0acb23ab8b

View File

@ -231,7 +231,7 @@ public class SellHouse extends Dialog {
int cost = 0; int cost = 0;
for (String s : selectedProperties) { for (String s : selectedProperties) {
cost += ((BuildingProperty) app.getGameLogic().getBoardManager().getFieldByName(s)).getHousePrice(); cost += ((BuildingProperty) app.getGameLogic().getBoardManager().getFieldByName(s)).getHousePrice() / 2;
} }
String display = String.join(" | ", selectedProperties); String display = String.join(" | ", selectedProperties);