aboutsummaryrefslogtreecommitdiff
path: root/panel.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-03-29 14:26:15 -0700
committer1029chris <1029chris@gmail.com>2016-03-29 14:26:15 -0700
commit756884900210e399739bfc29a8d6f45a9cb1224e (patch)
tree9d3728c7325d3d5d1f01e8fa0c7d38b8e2de1b16 /panel.lua
parenta84e60dbbddf40228d786fb217fb2c18c42efa1f (diff)
Replaced virus1 variable with v1
Diffstat (limited to 'panel.lua')
-rw-r--r--panel.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/panel.lua b/panel.lua
index 0d1be01..05cf61f 100644
--- a/panel.lua
+++ b/panel.lua
@@ -12,7 +12,7 @@ function drawPanelButton(id)
love.graphics.draw(win[panel.b[id]].icon16, panel.s.x+4+72+(panel.s.dis*id-panel.s.dis), panel.s.y+2)
if (sys.mouse.p.p == true and sys.mouse.p.x >= panel.s.x+72+(panel.s.dis*id-panel.s.dis)
and sys.mouse.p.x <= (panel.s.x+72+(panel.s.dis*id-panel.s.dis))+(panel.s.width*2.75)
- and sys.mouse.p.y >= panel.s.y and sys.mouse.p.y <= panel.s.y+panel.s.height and virus1.yes == false) then
+ and sys.mouse.p.y >= panel.s.y and sys.mouse.p.y <= panel.s.y+panel.s.height and v1.yes == false) then
if win[panel.b[id]].min == false then
layer.sentToFront = panel.b[id]
elseif win[panel.b[id]].min == true then