1
0
mirror of https://gitlab.com/rubenwardy/awards.git synced 2024-12-27 11:10:41 +01:00

Fix off-by-one error in counted_key award types

This commit is contained in:
rubenwardy 2018-04-05 16:21:44 +01:00
parent ee4931ae6e
commit 4764568f6d

View File

@ -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)