summaryrefslogtreecommitdiffhomepage
path: root/world.lua
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2016-05-19 17:32:06 +0200
committerAki <nthirtyone@gmail.com>2016-05-19 17:32:06 +0200
commit19a04dbfd3792ee935c4f341e7ef7b48a2611425 (patch)
treea4fd23015a6bcef57e2d2f7bd8590a56183ff378 /world.lua
parentb291008e6fe01a9ee8d68c4583975469e3bf89f1 (diff)
downloadroflnauts-19a04dbfd3792ee935c4f341e7ef7b48a2611425.zip
roflnauts-19a04dbfd3792ee935c4f341e7ef7b48a2611425.tar.gz
roflnauts-19a04dbfd3792ee935c4f341e7ef7b48a2611425.tar.bz2
Moved ground to the front
Diffstat (limited to 'world.lua')
-rw-r--r--world.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/world.lua b/world.lua
index 9b5569f..470ccb6 100644
--- a/world.lua
+++ b/world.lua
@@ -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