sokoban.love/0146-load_panes_from_previo...

10 lines
317 B
Plaintext

load_panes_from_previous_session = function()
if Initial_load_filenames == nil then return end
for _,filename in ipairs(Initial_load_filenames) do
table.insert(Panes, new_pane())
Current_pane_index = #Panes
Current_pane = Panes[Current_pane_index]
Current_pane.filename = filename
one_time_load()
end
end