From 06a5192b84420e3a242cdd0a9cee3e795cfe3a4e Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 29 Apr 2019 10:47:01 +0200 Subject: [PATCH] modules/world: fix a typo --- gamecore/modules/world/camera.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)