fixed weather problem with plants

This commit is contained in:
kaadmy 2015-09-23 10:26:29 -07:00
parent 320c2a9eb9
commit 65cd141556
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ farming.register_plant=function(name, plant)
chance = plant.grow_time/4,
action = function(pos, node, active_object_count, active_object_count_wider)
grow_plant(pos, name, plant)
if weather == "storm" then
if weather.weather == "storm" then
grow_plant(pos, name, plant)
end
end