diff options
author | Aki <nthirtyone@gmail.com> | 2016-05-19 17:32:06 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-05-19 17:32:06 +0200 |
commit | 19a04dbfd3792ee935c4f341e7ef7b48a2611425 (patch) | |
tree | a4fd23015a6bcef57e2d2f7bd8590a56183ff378 | |
parent | b291008e6fe01a9ee8d68c4583975469e3bf89f1 (diff) | |
download | roflnauts-19a04dbfd3792ee935c4f341e7ef7b48a2611425.zip roflnauts-19a04dbfd3792ee935c4f341e7ef7b48a2611425.tar.gz roflnauts-19a04dbfd3792ee935c4f341e7ef7b48a2611425.tar.bz2 |
Moved ground to the front
-rw-r--r-- | world.lua | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -159,15 +159,15 @@ function World:draw() effect:draw(offset_x,offset_y, scale) end - -- Draw ground - for _,platform in pairs(self.Platforms) do - platform:draw(offset_x, offset_y, scale, debug) - end - -- Draw player for _,naut in pairs(self.Nauts) do naut:draw(offset_x, offset_y, scale, debug) end + + -- Draw ground + for _,platform in pairs(self.Platforms) do + platform:draw(offset_x, offset_y, scale, debug) + end end -- beginContact |