summaryrefslogtreecommitdiffhomepage
path: root/not/World.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-09-06 02:57:06 +0200
committerAki <nthirtyone@gmail.com>2017-09-06 02:57:06 +0200
commit234adbc1468d75f829c8d8bfd0345fe0c16a6360 (patch)
tree0b7ca83ccbb1135095949d5c2c8e1289f19e65ed /not/World.lua
parent53763cd13314152117a7e29712de81e2bfafee18 (diff)
downloadroflnauts-234adbc1468d75f829c8d8bfd0345fe0c16a6360.zip
roflnauts-234adbc1468d75f829c8d8bfd0345fe0c16a6360.tar.gz
roflnauts-234adbc1468d75f829c8d8bfd0345fe0c16a6360.tar.bz2
Some additional info dislayed in debug mode
Diffstat (limited to 'not/World.lua')
-rw-r--r--not/World.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/not/World.lua b/not/World.lua
index 62988ae..ebc7d9f 100644
--- a/not/World.lua
+++ b/not/World.lua
@@ -205,6 +205,9 @@ function World:update (dt)
table.remove(self.Rays, key)
end
end
+
+ -- Some additional debug info.
+ dbg_msg = string.format("%sMap: %s\nClouds: %d\n", dbg_msg, self.map.filepath, self:getCloudsCount())
end
-- Draw