summaryrefslogtreecommitdiff
path: root/date_palm.lua
diff options
context:
space:
mode:
authorRogier <rogier777@gmail.com>2016-07-01 11:11:45 +0200
committerRogier <rogier777@gmail.com>2016-07-01 11:11:48 +0200
commit90283664076f2f399d7351cc36838c1d9b788e12 (patch)
treea33ae30e09afde5154dceed078e67034ce9402c6 /date_palm.lua
parent9dd610e0e6bef340a31fd05effcfc0f254c115f1 (diff)
fixup! Add date palm
Some textual improvements
Diffstat (limited to 'date_palm.lua')
-rw-r--r--date_palm.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/date_palm.lua b/date_palm.lua
index 6d00b3b..0c40b72 100644
--- a/date_palm.lua
+++ b/date_palm.lua
@@ -285,11 +285,11 @@ end
local function dates_print_search_stats(log)
local stats
if sect_search_stats.count > 0 then
- stats = string.format("Male date tree searching stats: count: %d/%d: average: %d µs (%d..%d)",
+ stats = string.format("Male date tree searching stats: searches: %d/%d: average: %d µs (%d..%d)",
sect_search_stats.count, sect_search_stats.count + sect_search_stats.skip,
sect_search_stats.sum/sect_search_stats.count, sect_search_stats.min, sect_search_stats.max)
else
- stats = string.format("Male date tree searching stats: (not yet available)")
+ stats = string.format("Male date tree searching stats: searches: 0/0: average: (no searches yet)")
end
if log then
minetest.log("action", "[moretrees] " .. stats)