aboutsummaryrefslogtreecommitdiff
path: root/main.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 /main.lua
parenta84e60dbbddf40228d786fb217fb2c18c42efa1f (diff)
Replaced virus1 variable with v1
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/main.lua b/main.lua
index 6fddf3b..1ed7ac0 100644
--- a/main.lua
+++ b/main.lua
@@ -50,13 +50,13 @@ function love.update(dt)
if scene == 1 then
updateSystem(dt)
end
- if virus1.yes == true then
- virus1.timer = virus1.timer + dt
+ if v1.yes == true then
+ v1.timer = v1.timer + dt
end
- if virus1.yes == true and virus1.timer >= 5 then
+ if v1.yes == true and v1.timer >= 5 then
scene = 2
- if virus1.explodeintrotimer <= 7.8 then
- virus1.explodeintrotimer = virus1.explodeintrotimer + dt
+ if v1.explodeintrotimer <= 7.8 then
+ v1.explodeintrotimer = v1.explodeintrotimer + dt
end
end
end