aboutsummaryrefslogtreecommitdiff
path: root/desktop.lua
diff options
context:
space:
mode:
Diffstat (limited to 'desktop.lua')
-rw-r--r--desktop.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop.lua b/desktop.lua
index b841974..e40fb2e 100644
--- a/desktop.lua
+++ b/desktop.lua
@@ -68,7 +68,7 @@ function drawIcon(id, x, y)
end
function checkIcon(id)
if(sys.mouse.p.x >= icon[id].x+4 and sys.mouse.p.x <= icon[id].x+100 and sys.mouse.p.p == true
- and sys.mouse.p.y >= icon[id].y and sys.mouse.p.y <= icon[id].y+75 and v1.yes == false) then
+ and sys.mouse.p.y >= icon[id].y and sys.mouse.p.y <= icon[id].y+75 and v1.yes == false and v2.start == false) then
if icon[id].hl == false and icon[id].cl == false then
icon[id].hl = true
icon[id].cl = true