Changes

m
no edit summary
Line 162: Line 162:  
local ship, nodes = ship_and_nodes:match(args_grammar.ship_and_nodes)
 
local ship, nodes = ship_and_nodes:match(args_grammar.ship_and_nodes)
 
if ship and nodes then
 
if ship and nodes then
local ship_table = Ship:get_table(ship, '')
+
local ship_table = ship == 'None' and { _type = '' } or Ship:get_table(ship, '')
 
if ship_table and ship_table._type then
 
if ship_table and ship_table._type then
 
local ignored, rare = find(ignored_ships, ship), find(rare_ships, ship)
 
local ignored, rare = find(ignored_ships, ship), find(rare_ships, ship)
Line 292: Line 292:  
return showTable(parseArgs(args))
 
return showTable(parseArgs(args))
 
end
 
end
 +
 +
DropList.t = Formatting:format_ship_code('')
    
return DropList
 
return DropList
cssedit, gkautomate
6,928

edits