From e4759c78831fa3ec70b7b23fdb9ec3ae0f2f3fec Mon Sep 17 00:00:00 2001 From: Luan Colombo <94877887+luancolombo@users.noreply.github.com> Date: Fri, 24 Nov 2023 21:26:36 +0000 Subject: [PATCH] fix: buy house (#1903) Wrong enum type. --- data/scripts/talkactions/player/buy_house.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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