Lua indices are 1-based
This commit is contained in:
parent
711c08eb0d
commit
daba7a2010
2 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ Write('<p>' .. description .. ' <span class="last-update">Last update: ' .. rows
|
|||
Write('<span class="count">')
|
||||
for i=1,rows[1]["sum_deaths"] do
|
||||
Write('•')
|
||||
if i > 0 and i < rows[1]["sum_deaths"] and i % 100 == 0 then
|
||||
if i < rows[1]["sum_deaths"] and i % 100 == 0 then
|
||||
Write('</span><span class="count">')
|
||||
end
|
||||
end
|
||||
|
|
|
|||
BIN
redbean.com
BIN
redbean.com
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue