diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-04-05 16:21:44 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-04-05 16:21:44 +0100 |
commit | 4764568f6d9fd36c5d5429a9ccaf0a975402e491 (patch) | |
tree | 0a6f3c331e8c2e072cb3fc9d3ef9e45a075c0b39 | |
parent | ee4931ae6efbc063431069768bbb37f44478f6db (diff) |
Fix off-by-one error in counted_key award types
-rw-r--r-- | api.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |