summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2013-11-21 08:33:29 +0100
committerHugues Hiegel <hugues@hiegel.fr>2013-11-21 08:33:29 +0100
commit25d2c96938071f45def98fbdc30cf20a57a71784 (patch)
tree83c0ab3852cc2355daafaca8f149026d1ea03852
parentc0a08b4147931634ec94326e2ac549cdfa9e3f4c (diff)
stuff
-rw-r--r--scripts/gugus/sliproDigits.lua16
1 files 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