mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2024-11-26 01:03:47 +01:00
Fix off-by-one error in counted_key award types
This commit is contained in:
parent
ee4931ae6e
commit
4764568f6d
2
api.lua
2
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)
|
||||
|
Loading…
Reference in New Issue
Block a user