From e8e4af62cad224bdb028ffcf730d7c5c8c2b7482 Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Thu, 9 Jun 2016 13:50:25 -0700 Subject: Changed some variables sys.width and sys.height removed love.graphics.getHeight changed to sys.h, same with width --- var.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'var.lua') diff --git a/var.lua b/var.lua index 6ee9bab..6e69fea 100644 --- a/var.lua +++ b/var.lua @@ -40,7 +40,7 @@ function loadVar() panel.thick = 30 panel.x = 0 panel.y = 600-panel.thick - panel.width = sys.width + panel.width = sys.w panel.height = panel.thick panel.s = {} panel.s.x = panel.x + 5 @@ -70,7 +70,7 @@ function loadVar() end winOpen = true winHover = false - minim = love.graphics.getHeight()+10 + minim = sys.h+10 start = {} start.cvs = love.graphics.newCanvas(250, 350) start.o = false @@ -292,8 +292,6 @@ function loadPre() fadeOpacity = 0 sys = {} sys.s = 0 - sys.width = love.graphics.getWidth() - sys.height = love.graphics.getHeight() sys.mouse = {} sys.mouse.p = {} sys.mouse.x = love.mouse.getX -- cgit