diff options
Diffstat (limited to 'api.lua')
-rw-r--r-- | api.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -140,6 +140,11 @@ function awards.register_achievement(name, def) -- Add Award awards.def[name] = def + + local tdef = awards.def[name] + if def.description == nil and tdef.getDefaultDescription then + def.description = tdef:getDefaultDescription() + end end function awards.enable(name) |