summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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