summaryrefslogtreecommitdiffhomepage
path: root/camera.lua
diff options
context:
space:
mode:
Diffstat (limited to 'camera.lua')
-rw-r--r--camera.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/camera.lua b/camera.lua
index 8313dac..79e680b 100644
--- a/camera.lua
+++ b/camera.lua
@@ -33,7 +33,8 @@ end
-- Move follow
function Camera:moveFollow ()
local x,y,i = 105, 120, 1
- for k,point in pairs(Nauts) do
+ -- w.Nauts [!] temporary
+ for k,point in pairs(w.Nauts) do
i = i + 1
x = math.max(math.min(point.body:getX(),290),0) + x
y = math.max(math.min(point.body:getY(),180),20) + y