diff --git a/changelog.txt b/changelog.txt index 9420e9fcb..fc2aa78e2 100644 --- a/changelog.txt +++ b/changelog.txt @@ -25,6 +25,7 @@ that repo. - `quickfort`: fix incorrect directions for tracks that extend south or east from a track segment pair specified with expansion syntax (e.g. T(4x4)) - `quickfort`: fix parsing of multi-part extended zone configs (e.g. when you set custom supply limits for hospital zones AND set custom flags for a pond) - `quickfort`: fix error when attempting to set a custom limit for plaster powder in a hospital zone +- `exportlegends`: fix issue where birth year was outputted as birth seconds ## Misc Improvements - `gui/blueprint`: support the new ``--splitby`` and ``--format`` options for `blueprint` diff --git a/exportlegends.lua b/exportlegends.lua index 5ae665816..7e9aa7921 100644 --- a/exportlegends.lua +++ b/exportlegends.lua @@ -403,7 +403,7 @@ function export_more_legends_xml() if idV.race >= 0 then file:write("\t\t"..(df.global.world.raws.creatures.all[idV.race].creature_id):lower().."\n") end if idV.race >= 0 and idV.caste >= 0 then file:write("\t\t"..(df.global.world.raws.creatures.all[idV.race].caste[idV.caste].caste_id):lower().."\n") end file:write("\t\t"..idV.birth_year.."\n") - file:write("\t\t"..idV.birth_year.."\n") + file:write("\t\t"..idV.birth_second.."\n") if idV.profession >= 0 then file:write("\t\t"..(df_enums.profession[idV.profession]):lower().."\n") end file:write("\t\t"..idV.entity_id.."\n") file:write("\t\n")