Changes

m
no edit summary
Line 6: Line 6:  
     local shipNum = frame.args[1]
 
     local shipNum = frame.args[1]
 
     if(tonumber(string.sub(shipNum, 1, 3)) == nil) then -- if given a name instead of ID, this searches the db for the ship's corresponding ID
 
     if(tonumber(string.sub(shipNum, 1, 3)) == nil) then -- if given a name instead of ID, this searches the db for the ship's corresponding ID
     shipNum = shipdb.findID(frame.args[1])
+
     shipNum = shipdb.findID(frame)
 
end
 
end
  
5,421

edits