summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-31 21:32:20 +0200
committerWuzzy <almikes@aol.com>2016-08-31 21:32:20 +0200
commit777a0527737c7cb52adf166160bea578eb71b9fc (patch)
tree231ba25bdf00ee9040166d4e3f69a4d917e8025e
parent7466d3bfe29751ce20e4e19093941a188c43e7dc (diff)
Add TODO about count checks
-rw-r--r--init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index ca3c412..47af07f 100644
--- a/init.lua
+++ b/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