From 19a04dbfd3792ee935c4f341e7ef7b48a2611425 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 19 May 2016 17:32:06 +0200 Subject: Moved ground to the front --- world.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'world.lua') 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 -- cgit v1.1