Changes

m
no edit summary
Line 121: Line 121:  
         for i, fleet in ipairs(fleets) do
 
         for i, fleet in ipairs(fleets) do
 
             table.insert(result, string.format('|-| %s =', 'Variant ' .. i))
 
             table.insert(result, string.format('|-| %s =', 'Variant ' .. i))
             if fleet.p2w then
+
             if fleet.p2w and fleet.p2w > 0 then
 
                 table.insert(result, '**P2W**, ')
 
                 table.insert(result, '**P2W**, ')
 
             end
 
             end
             if fleet.f2p then
+
             if fleet.f2p and fleet.f2p > 0 then
 
                 table.insert(result, '**F2P**, ')
 
                 table.insert(result, '**F2P**, ')
 
             end
 
             end
cssedit, gkautomate
6,941

edits