aboutsummaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
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