summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/api.lua b/api.lua
index a4c7a3e..d85ef6c 100644
--- a/api.lua
+++ b/api.lua
@@ -162,7 +162,7 @@ function awards.register_trigger(tname, tdef)
end
function def.getDefaultDescription(_)
- local n = self.trigger.target
+ local n = def.trigger.target
return NS(tdef.auto_description[1], tdef.auto_description[2], n, n)
end
@@ -216,7 +216,7 @@ function awards.register_trigger(tname, tdef)
end
function def.getDefaultDescription(_)
- local n = self.trigger.target
+ local n = def.trigger.target
if tmp.key then
local nname = tmp.key
return NS(tdef.auto_description[1],