diff options
Diffstat (limited to 'not/CloudGenerator.lua')
-rw-r--r-- | not/CloudGenerator.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/not/CloudGenerator.lua b/not/CloudGenerator.lua index 404be1b..da5ddb2 100644 --- a/not/CloudGenerator.lua +++ b/not/CloudGenerator.lua @@ -63,7 +63,7 @@ end function CloudGenerator:run (count, inside) local count = count or 1 - for i=1,count then + for i=1,count do local x, y = self:getRandomPosition(inside) local style = self:getRandomStyle() self.world:insertCloud(self:createCloud(x, y, style)) |