Skip to content

Commit

Permalink
Merge remote-tracking branch 'Mason11987/patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
lethosor committed Dec 8, 2021
2 parents b7c5aac + 3891400 commit 55cbc2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion exportlegends.lua
Expand Up @@ -403,7 +403,7 @@ function export_more_legends_xml()
if idV.race >= 0 then file:write("\t\t<race>"..(df.global.world.raws.creatures.all[idV.race].creature_id):lower().."</race>\n") end
if idV.race >= 0 and idV.caste >= 0 then file:write("\t\t<caste>"..(df.global.world.raws.creatures.all[idV.race].caste[idV.caste].caste_id):lower().."</caste>\n") end
file:write("\t\t<birth_year>"..idV.birth_year.."</birth_year>\n")
file:write("\t\t<birth_second>"..idV.birth_year.."</birth_second>\n")
file:write("\t\t<birth_second>"..idV.birth_second.."</birth_second>\n")
if idV.profession >= 0 then file:write("\t\t<profession>"..(df_enums.profession[idV.profession]):lower().."</profession>\n") end
file:write("\t\t<entity_id>"..idV.entity_id.."</entity_id>\n")
file:write("\t</identity>\n")
Expand Down

0 comments on commit 55cbc2c

Please sign in to comment.