Changes

m
no edit summary
Line 27: Line 27:  
   end
 
   end
 
   -- check if we already have it
 
   -- check if we already have it
   if self._ships[name] and self._ships[name][model] then
+
   --if self._ships[name] and self._ships[name][model] then
     return self._ships[name][model]
+
     --return self._ships[name][model]
   else
+
   --else
 
     local ship = self._data_class(self:get_table(name, model))
 
     local ship = self._data_class(self:get_table(name, model))
 
     if not self._ships[name] then
 
     if not self._ships[name] then
Line 36: Line 36:  
     self._ships[name][model] = ship
 
     self._ships[name][model] = ship
 
     return ship
 
     return ship
   end
+
   --end
 
end
 
end
  
cssedit, gkautomate
7,064

edits