Add TODO about count checks
This commit is contained in:
parent
7466d3bfe2
commit
777a052773
1
init.lua
1
init.lua
@ -497,6 +497,7 @@ function doc.formspec_category(id, playername)
|
||||
local viewed = doc.get_viewed_count(playername, id)
|
||||
local hidden = total - revealed
|
||||
local new = total - viewed - hidden
|
||||
-- TODO/FIXME: Check if number of hidden/viewed entries is always correct
|
||||
if viewed < total then
|
||||
formstring = formstring .. "New entries: "..new
|
||||
if hidden > 0 then
|
||||
|
Loading…
x
Reference in New Issue
Block a user