Use name of now-identified field

Ready for DFHack 40.15-r1 and later
develop
PeridexisErrant 2014-11-09 09:18:53 +11:00
parent 27ae8f2ab9
commit 994e98c5c1
1 changed files with 1 additions and 1 deletions

@ -65,7 +65,7 @@ end
function export_site_maps() function export_site_maps()
local vs = dfhack.gui.getCurViewscreen() local vs = dfhack.gui.getCurViewscreen()
print(' Exporting: All possible site maps') print(' Exporting: All possible site maps')
vs.anon_21 = 1 -- get to sites screen before the next bit vs.main_cursor = 1
gui.simulateInput(vs, 'SELECT') gui.simulateInput(vs, 'SELECT')
for i=1, #vs.sites do for i=1, #vs.sites do
gui.simulateInput(vs, 'LEGENDS_EXPORT_MAP') gui.simulateInput(vs, 'LEGENDS_EXPORT_MAP')