summaryrefslogtreecommitdiffhomepage
path: root/world.lua
diff options
context:
space:
mode:
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