diff --git a/data/scripts/talkactions/player/buy_house.lua b/data/scripts/talkactions/player/buy_house.lua index 90b33aef735..ee0ce8da5ee 100644 --- a/data/scripts/talkactions/player/buy_house.lua +++ b/data/scripts/talkactions/player/buy_house.lua @@ -1,7 +1,7 @@ local buyHouse = TalkAction("!buyhouse") function buyHouse.onSay(player, words, param) - local housePrice = configManager.getNumber(configKeys.HOUSE_PRICE) + local housePrice = configManager.getNumber(configKeys.HOUSE_PRICE_PER_SQM) if housePrice == -1 then return true end