Put mistakenly removed comments back

develop
Mason11987 2015-10-12 06:02:51 -04:00
parent db3a1024e1
commit dea78d0627
1 changed files with 2 additions and 0 deletions

@ -525,6 +525,7 @@ function export_legends_info()
export_more_legends_xml() export_more_legends_xml()
end end
--- presses 'd' for detailed maps
function wait_for_legends_vs() function wait_for_legends_vs()
local vs = dfhack.gui.getCurViewscreen() local vs = dfhack.gui.getCurViewscreen()
if i <= #MAPS then if i <= #MAPS then
@ -572,6 +573,7 @@ end
-- main() -- main()
if dfhack.gui.getCurFocus() == "legends" or dfhack.gui.getCurFocus() == "dfhack/lua/legends" then if dfhack.gui.getCurFocus() == "legends" or dfhack.gui.getCurFocus() == "dfhack/lua/legends" then
-- either native legends mode, or using the open-legends.lua script
if args[1] == "all" then if args[1] == "all" then
export_legends_info() export_legends_info()
export_site_maps() export_site_maps()