Readd awards

This commit is contained in:
rubenwardy
2018-04-04 21:11:40 +01:00
parent f84e6d8db5
commit 07997a54f4
3 changed files with 6 additions and 17 deletions

View File

@ -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],