mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 16:08:15 +00:00
Fixed the last character of [objectives] note= getting eaten
This commit is contained in:
parent
1873b38243
commit
93a7f5e599
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user