Fixed the last character of [objectives] note= getting eaten

This commit is contained in:
ln-zookeeper 2016-02-14 02:12:01 +02:00
parent 1873b38243
commit 93a7f5e599

View file

@ -162,7 +162,7 @@ local function generate_objectives(cfg)
end
local note = cfg.note
if note then
objectives = objectives .. "\n" .. note
objectives = objectives .. "\n" .. note .. "\n"
end
return string.sub(tostring(objectives), 1, -2)