Changes

m
no edit summary
Line 308: Line 308:  
     shipname = shipmodule.data[id]["name"][3]
 
     shipname = shipmodule.data[id]["name"][3]
 
     pagename = shipname
 
     pagename = shipname
     if string.sub(shipmodule.data[id],1,-2) == "Mist" then  -- fleet of fog check
+
     if string.sub(id,1,-2) == "Mist" then  -- fleet of fog check
 
     if string.sub(shipmodule.data[id], -1) == '1' then
 
     if string.sub(shipmodule.data[id], -1) == '1' then
 
     pagename = 'Iona_(fog)'
 
     pagename = 'Iona_(fog)'
5,421

edits