From 998fbe485aacee37ca341a159f0c0121660cd4a7 Mon Sep 17 00:00:00 2001 From: Fabien Freling Date: Mon, 29 Apr 2019 13:41:21 +0200 Subject: [PATCH] make sickness deadlier --- right_coin.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/right_coin.lua b/right_coin.lua index d68fa25..f5d62bc 100644 --- a/right_coin.lua +++ b/right_coin.lua @@ -529,8 +529,8 @@ function updateGame() sickCounter = sickCounter - 1 secondsAlive = secondsAlive + 1 end - if sickCounter==0 and sickLapse>3 then - sickLapse=sickLapse-2 + if sickCounter==0 and sickLapse>1 then + sickLapse=math.max(sickLapse-5,1) sickCounter=20 end