aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 6a9b923..4df98c2 100644
--- a/main.lua
+++ b/main.lua
@@ -39,6 +39,12 @@ function love.update(dt)
end
if fade == 1 and fadeOpacity < 255 and pause.p == false then
fadeOpacity = fadeOpacity + 5
+ if scene == 0 and love.keyboard.isDown("1") == true then
+ v1.complete = true
+ elseif scene == 0 and love.keyboard.isDown("2") == true then
+ v1.complete = true
+ v2.complete = true
+ end
elseif fade == 0 and fadeOpacity > 0 and pause.p == false then
fadeOpacity = fadeOpacity - 5
end