summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-06 01:52:56 +0200
committerAki <nthirtyone@gmail.com>2017-09-06 01:52:56 +0200
commite223ae4d3495ae6060017bb60b11a322ff39623c (patch)
treefe095ec4545137e270baa476efd1e824b05b2f36
parentda2c0d100a0b55e627ecdf5eaf5b8af78dd97c1c (diff)
downloadroflnauts-e223ae4d3495ae6060017bb60b11a322ff39623c.zip
roflnauts-e223ae4d3495ae6060017bb60b11a322ff39623c.tar.gz
roflnauts-e223ae4d3495ae6060017bb60b11a322ff39623c.tar.bz2
yer funny aki, arent yer
-rw-r--r--not/CloudGenerator.lua2
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))