Changes

no edit summary
Line 429: Line 429:  
         local categories = {}
 
         local categories = {}
 
         local ships_index = {}
 
         local ships_index = {}
         for ship, ship_data in pairs(self._ships) do
+
         for ship, ship_data in pairs(self._ships or {}) do
 
             table.insert(ships_index, ship)
 
             table.insert(ships_index, ship)
 
         end
 
         end
Anonymous user