1
0
mirror of https://github.com/LDDestroier/CC/ synced 2024-11-17 15:24:52 +00:00

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

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