diff --git a/gamecore/modules/world/camera.lua b/gamecore/modules/world/camera.lua index 2004245..a944e7e 100644 --- a/gamecore/modules/world/camera.lua +++ b/gamecore/modules/world/camera.lua @@ -132,7 +132,7 @@ end function CameraSystem:getViewPositions(id) local viewNumber = #self.views.list - if (viewNumber == 2) and (id == 1) or (id == 2) then + if (viewNumber == 2) and ((id == 1) or (id == 2)) then return self.views.posList.dual[id].x, self.views.posList.dual[id].y elseif (viewNumber > 2) then return self.views.posList.multi[id].x, self.views.posList.multi[id].y