Skip to content

Commit

Permalink
adapt to canonicalized structures
Browse files Browse the repository at this point in the history
  • Loading branch information
myk002 committed Jun 15, 2024
1 parent 33eb4df commit 32bf2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exportlegends.lua
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ local function export_more_legends_xml()
file:write("\t\t<occasion>\n")
file:write("\t\t\t<id>"..occasionV.id.."</id>\n")
file:write("\t\t\t<name>"..escape_xml(dfhack.df2utf(dfhack.TranslateName(occasionV.name,1))).."</name>\n")
file:write("\t\t\t<event>"..occasionV.event.."</event>\n")
file:write("\t\t\t<event>"..occasionV.purpose_id.."</event>\n")
for scheduleK, scheduleV in pairs(occasionV.schedule) do
file:write("\t\t\t<schedule>\n")
file:write("\t\t\t\t<id>"..scheduleK.."</id>\n")
Expand Down

0 comments on commit 32bf2af

Please sign in to comment.