summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-04-04 18:02:43 +0100
committerrubenwardy <rw@rubenwardy.com>2018-04-04 18:02:43 +0100
commitd82972b44890611e6eb9dca506f4c2ead0b0ffa7 (patch)
treece930fb2fb2d1e3cb64022f56d838c98f26674e4 /api.lua
parent72cc346c35d3610c2367d7dbb02e130ac8a96411 (diff)
Update README.md
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/api.lua b/api.lua
index 73182db..86ff9ea 100644
--- a/api.lua
+++ b/api.lua
@@ -174,6 +174,7 @@ function awards.register_trigger(tname, tdef)
-- Backwards compat
awards.on[tname] = tdef.on
awards['register_on_' .. tname] = tdef.register
+ return tdef
end
function awards.increment_item_counter(data, field, itemname, count)