Changes

m
no edit summary
Line 73: Line 73:  
         ships[i] = Ship(args["ship" .. tostring(i)], args["ship" .. tostring(i) .. "_remodel"])
 
         ships[i] = Ship(args["ship" .. tostring(i)], args["ship" .. tostring(i) .. "_remodel"])
 
         --Also get all the equips for the ship
 
         --Also get all the equips for the ship
         ships[i].equipment = {}
+
         ships[i]["equip"] = {}
 
         for a = 1, 4 do
 
         for a = 1, 4 do
 
             ships[i].equip[a] = args["ship" .. tostring(i) .. "_equip" .. tostring(a)]
 
             ships[i].equip[a] = args["ship" .. tostring(i) .. "_equip" .. tostring(a)]
 
         end
 
         end
 
     end
 
     end
 +
    mw.log("Hello")
 
     return format(self._template)
 
     return format(self._template)
 
end
 
end
    
return NanaminFleet
 
return NanaminFleet
48

edits