modules/world: fix a typo

This commit is contained in:
Kazhnuz 2019-04-29 10:47:01 +02:00
parent 699efeb2fb
commit 06a5192b84

View file

@ -64,7 +64,7 @@ end
-- Access data from the views -- Access data from the views
function CameraSystem:addView(x, y) function CameraSystem:addView(x, y)
if (#self.view.list < SCREEN_LIMIT) then if (#self.views.list < SCREEN_LIMIT) then
local view = {} local view = {}
view.cam = View(x, y, 1, 0, true) view.cam = View(x, y, 1, 0, true)