diff options
| author | 1029chris <1029chris@gmail.com> | 2016-06-25 16:00:25 -0700 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2016-06-25 16:00:25 -0700 |
| commit | da917841684baba0b4aa587705fd971b30c243b4 (patch) | |
| tree | ffa1f783032320e01b5dd2d243d2a2806185d3e4 | |
| parent | 13de07d1a55433db2346428dced9c8932c89a3d4 (diff) | |
Disabled highlight box for virus fight
| -rw-r--r-- | desktop.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop.lua b/desktop.lua index aa8023a..c33f004 100644 --- a/desktop.lua +++ b/desktop.lua @@ -46,7 +46,7 @@ function drawDesktop() drawIcon(i) checkIcon(i) end - if sys.mouse.p.p == true and sys.mouse.drag == false then + if sys.mouse.p.p == true and sys.mouse.drag == false and scene == 1 then love.graphics.setColor(0,80,160,80) love.graphics.rectangle("fill", sys.mouse.p.x, sys.mouse.p.y, sys.mouse.x-sys.mouse.p.x, sys.mouse.y-sys.mouse.p.y) love.graphics.rectangle("line", sys.mouse.p.x, sys.mouse.p.y, sys.mouse.x-sys.mouse.p.x, sys.mouse.y-sys.mouse.p.y) |
