summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
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)