From 25d2c96938071f45def98fbdc30cf20a57a71784 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 21 Nov 2013 08:33:29 +0100 Subject: stuff --- scripts/gugus/sliproDigits.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/gugus/sliproDigits.lua b/scripts/gugus/sliproDigits.lua index 48cbe1a..12c1347 100644 --- a/scripts/gugus/sliproDigits.lua +++ b/scripts/gugus/sliproDigits.lua @@ -295,9 +295,9 @@ function leftDigitsEvent(swFunction) local sector = GetCarInfo("sector") if sector ~= nil then if sector > 9 then - sSector = string.format("S%02d", sector) + sSector = string.format("S.%02d", sector) else - sSector = string.format(" S:%1d", sector) + sSector = string.format(" S.%1d", sector) end end @@ -701,16 +701,16 @@ function rightDigitsEvent(swFunction) local sector = GetCarInfo("sector") if sector == 1 then -- sector 3 - local ls3 = GetTimeInfo("lastsector3") - lpt = ls3 + local ls3 = GetTimeInfo("lastsector3") + lpt = ls3 elseif sector == 2 then - local ls1 = GetTimeInfo("lastsector1") - lpt = ls1 + local ls1 = GetTimeInfo("lastsector1") + lpt = ls1 else -- sector 3 - local ls2 = GetTimeInfo("lastsector2") - lpt = ls2 + local ls2 = GetTimeInfo("lastsector2") + lpt = ls2 end elseif swValue == 36 then -- cgit v1.2.3