aboutsummaryrefslogtreecommitdiff
path: root/desktop.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 /desktop.lua
parenta84e60dbbddf40228d786fb217fb2c18c42efa1f (diff)
Replaced virus1 variable with v1
Diffstat (limited to 'desktop.lua')
-rw-r--r--desktop.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop.lua b/desktop.lua
index 35373ba..be4a75e 100644
--- a/desktop.lua
+++ b/desktop.lua
@@ -3,9 +3,9 @@ function drawDesktop()
if desktop.bg.current ~= 0 then
love.graphics.draw(desktop.bg.current, 0, 0, 0, sys.w/1920, sys.h/1280)
end
- if virus1.explodeintro == true and virus1.yes == true then
+ if v1.explodeintro == true and v1.yes == true then
if expl.frame >= 20 then
- love.graphics.draw(virus1.scorch, win[2].x-300, win[2].y-100)
+ love.graphics.draw(v1.scorch, win[2].x-300, win[2].y-100)
end
if expl.deb.load == false then
expl.deb[1].x = win[2].x
@@ -54,7 +54,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 virus1.yes == false) then
+ and sys.mouse.p.y >= icon[id].y and sys.mouse.p.y <= icon[id].y+75 and v1.yes == false) then
if icon[id].hl == false and icon[id].cl == false then
icon[id].hl = true
icon[id].cl = true