diff options
author | Wuzzy <almikes@aol.com> | 2016-08-31 21:32:20 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-31 21:32:20 +0200 |
commit | 777a0527737c7cb52adf166160bea578eb71b9fc (patch) | |
tree | 231ba25bdf00ee9040166d4e3f69a4d917e8025e | |
parent | 7466d3bfe29751ce20e4e19093941a188c43e7dc (diff) |
Add TODO about count checks
-rw-r--r-- | init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |