diff options
| author | 1029chris <1029chris@gmail.com> | 2016-03-17 19:45:44 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-03-17 19:45:44 -0700 |
| commit | 0e39cf0a16b500ac757ef2a329a0938a064e4b1f (patch) | |
| tree | 481c4aa95460b50e0f0dff5ae1419a3d777a738d /panel.lua | |
| parent | f8f18f11d739edceb0caf242cb5655c054012e3b (diff) | |
Started working on Virus 1 fight.
Diffstat (limited to 'panel.lua')
| -rw-r--r-- | panel.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) then + and sys.mouse.p.y >= panel.s.y and sys.mouse.p.y <= panel.s.y+panel.s.height and virus1.yes == false) then if win[panel.b[id]].min == false then layer.sentToFront = panel.b[id] elseif win[panel.b[id]].min == true then |
