aboutsummaryrefslogtreecommitdiff
path: root/desktop.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2016-08-08 00:05:07 -0700
committer1029chris <1029chris@gmail.com>2016-08-08 00:05:07 -0700
commit4515e6a967d283d3921a8695f9d093ef0688902e (patch)
tree047d4f01dc5422ca35304af556028a9fd1d29dcd /desktop.lua
parentf2c4f1b45619abfd6fdd079d00adfd25e4243ef3 (diff)
Starting Virus 2 fight
Added scene 3 Virus 2 appears after closing a popup
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