From 4764568f6d9fd36c5d5429a9ccaf0a975402e491 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Thu, 5 Apr 2018 16:21:44 +0100 Subject: [PATCH] Fix off-by-one error in counted_key award types --- api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.lua b/api.lua index 76ab33d..39f7f09 100644 --- a/api.lua +++ b/api.lua @@ -243,7 +243,7 @@ function awards.register_trigger(tname, tdef) return end - if current > entry.target then + if current >= entry.target then return entry.award end end)