added add heigth limit for weather visibility
This commit is contained in:
parent
e90133b30a
commit
da72a58293
@ -191,7 +191,7 @@ heavy_rain.in_area = function(position)
|
||||
return false
|
||||
end
|
||||
|
||||
if position.y > -10 then
|
||||
if position.y > -10 and position.y < 120 then
|
||||
return true
|
||||
end
|
||||
return false
|
||||
|
@ -144,7 +144,7 @@ light_rain.in_area = function(position)
|
||||
return false
|
||||
end
|
||||
|
||||
if position.y > -10 then
|
||||
if position.y > -10 and position.y < 120 then
|
||||
return true
|
||||
end
|
||||
return false
|
||||
|
2
rain.lua
2
rain.lua
@ -147,7 +147,7 @@ rain.in_area = function(position)
|
||||
return false
|
||||
end
|
||||
|
||||
if position.y > -10 then
|
||||
if position.y > -10 and position.y < 120 then
|
||||
return true
|
||||
end
|
||||
return false
|
||||
|
Loading…
x
Reference in New Issue
Block a user