Removed exitGame on foul/win/lose

Why DID I put those there??
This commit is contained in:
LDDestroier 2019-04-09 20:18:20 -04:00 committed by GitHub
parent eee5c5445c
commit d4ea02f4fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -193,7 +193,7 @@ function getInput()
end, countdown)
if (res == 1) and not over then
cprint("FOUL!!")
exitGame()
--exitGame()
end
os.queueEvent("imready")
parallel.waitForAny(function()
@ -262,7 +262,7 @@ function game()
term.setTextColor(colors.red)
term.setBackgroundColor(colors.lightBlue)
sleep(0.5)
exitGame()
--exitGame()
else
paintutils.drawImage(mixImages(s.enemy.dead,s.bg),1,1)
paintutils.drawPixel(x,y,colors.red)
@ -273,7 +273,7 @@ function game()
wins = wins + 1
sleep(0.8)
difficulty = difficulty * 0.92
exitGame()
--exitGame()
end
end
end
@ -285,4 +285,4 @@ while isRunning do
if isRunning then
sleep(0.8)
end
end
end