mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2024-12-02 04:03:44 +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
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if current > entry.target then
|
if current >= entry.target then
|
||||||
return entry.award
|
return entry.award
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
Loading…
Reference in New Issue
Block a user