Changes

m
no edit summary
Line 39: Line 39:  
local ship, nodes = arg:match(args_grammar.ship_and_nodes)
 
local ship, nodes = arg:match(args_grammar.ship_and_nodes)
 
-- TODO: check ship existence?
 
-- TODO: check ship existence?
table.insert(tbl.rows, 1, {})
+
table.insert(tbl.rows, {})
local row = tbl.rows[1]
+
local row = tbl.rows[#tbl.rows]
 
row.ship = ship
 
row.ship = ship
 
row.nodes = {}
 
row.nodes = {}
cssedit, gkautomate
6,942

edits