Lower wind turbine height

This commit is contained in:
Evert Prants 2019-12-09 15:42:09 +02:00
parent 70674e2152
commit 55733c2944
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -13,7 +13,7 @@ local function get_formspec_default(power, state)
end end
-- Primitive wind checking function -- Primitive wind checking function
elepm.wind_height_constant = 100 elepm.wind_height_constant = 10
function elepm.wind_check(pos) function elepm.wind_check(pos)
if pos.y < elepm.wind_height_constant then if pos.y < elepm.wind_height_constant then
return 0 return 0