Changes

m
no edit summary
Line 117: Line 117:     
function NanaminShipInfo:build_one(args)
 
function NanaminShipInfo:build_one(args)
     self:build_table(args[class])
+
     self:build_table(args["class"])
 
     return table.concat(self._rows, "\n")
 
     return table.concat(self._rows, "\n")
 
end
 
end
Line 125: Line 125:  
     --mw.log(self._sorted_entries["Light Cruiser"]["111"][1][1])
 
     --mw.log(self._sorted_entries["Light Cruiser"]["111"][1][1])
 
     table.insert(self._rows, "__NOTOC__")
 
     table.insert(self._rows, "__NOTOC__")
     if args["class"] then return self:build_one(args) end
+
     if args["class"] then return self:build_one() end
 
     self:build_table("Battleship")
 
     self:build_table("Battleship")
 
     self:build_table("Carrier")
 
     self:build_table("Carrier")
48

edits