summaryrefslogtreecommitdiffhomepage
path: root/not/World.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-06 02:30:24 +0200
committerAki <nthirtyone@gmail.com>2017-09-06 02:30:24 +0200
commit53763cd13314152117a7e29712de81e2bfafee18 (patch)
treef032a7a718a9b514c49347bdedd773552c753d23 /not/World.lua
parent0ef657d12d523f3805422bfc1cb840e1a481af03 (diff)
downloadroflnauts-53763cd13314152117a7e29712de81e2bfafee18.zip
roflnauts-53763cd13314152117a7e29712de81e2bfafee18.tar.gz
roflnauts-53763cd13314152117a7e29712de81e2bfafee18.tar.bz2
Spawn some Clouds on start
Diffstat (limited to 'not/World.lua')
-rw-r--r--not/World.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/not/World.lua b/not/World.lua
index f2dc391..62988ae 100644
--- a/not/World.lua
+++ b/not/World.lua
@@ -67,10 +67,10 @@ function World:buildMap ()
end
end
--- TODO: Spawn some clouds after cloudGenerator has been initialized.
function World:initClouds ()
if self.map.clouds then
self.cloudGenerator = CloudGenerator(self)
+ self.cloudGenerator:run(6, true)
end
end