Changes

m
no edit summary
Line 71: Line 71:  
     local vars = {}
 
     local vars = {}
 
     for i = 1, 6 do
 
     for i = 1, 6 do
         ships[i] = Ship(self._args["ship" .. tostring(i)], self._args["ship" .. tostring(i) .. "_remodel"])
+
         ships[i] = Ship(args["ship" .. tostring(i)], args["ship" .. tostring(i) .. "_remodel"])
 
          
 
          
 
         --Get the equips categorized under each ship specifically so the ship number doesn't have to be passed.
 
         --Get the equips categorized under each ship specifically so the ship number doesn't have to be passed.
 
         ships[i].equip = {}
 
         ships[i].equip = {}
 
         for a = 1, 4 do
 
         for a = 1, 4 do
             ships[i].equip[a] = { name = self._args["ship" .. tostring(i) .. "_equip" .. tostring(a)] }
+
             ships[i].equip[a] = { name = args["ship" .. tostring(i) .. "_equip" .. tostring(a)] }
 
         end
 
         end
 
          
 
          
48

edits