Перейти к содержанию

Модуль:Football: различия между версиями

Нет описания правки
Нет описания правки
Строка 682: Строка 682:
if hasHightlightText and hl.place + hl.count <= #standings then
if hasHightlightText and hl.place + hl.count <= #standings then
-- Следующая команда, с которой начинается отсутствие текста
-- Следующая команда, с которой начинается отсутствие текста
local nextStanding = standings[hl.place + hl.count-1]
local nextStanding = standings[hl.place + hl.count]
-- Определяем количество ячеек без текста
-- Определяем количество ячеек без текста
local nextCount = #standings - hl.place
local nextCount = #standings - hl.place
Строка 691: Строка 691:
if nextCount ~= 0 then
if nextCount ~= 0 then
nextStanding.highlightCount = nextCound
nextStanding.highlightCount = nextCount
nextStanding.highlightText = ""
nextStanding.highlightText = ""
end
end