Skip to content

Commit

Permalink
fix: buy house (#1903)
Browse files Browse the repository at this point in the history
Wrong enum type.
  • Loading branch information
luancolombo authored Nov 24, 2023
1 parent 4a25372 commit e4759c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/scripts/talkactions/player/buy_house.lua
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e4759c7

Please sign in to comment.