diff --git a/gamecore/modules/world/camera.lua b/gamecore/modules/world/camera.lua index bcdcbe3..500ef2f 100644 --- a/gamecore/modules/world/camera.lua +++ b/gamecore/modules/world/camera.lua @@ -64,7 +64,7 @@ end -- Access data from the views function CameraSystem:addView(x, y) - if (#self.view.list < SCREEN_LIMIT) then + if (#self.views.list < SCREEN_LIMIT) then local view = {} view.cam = View(x, y, 1, 0, true)