Changes

m
no edit summary
Line 309: Line 309:  
     pagename = shipname
 
     pagename = shipname
 
     if string.sub(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(id, -1) == '1' then
 
     pagename = 'Iona_(fog)'
 
     pagename = 'Iona_(fog)'
     elseif string.sub(shipmodule.data[id], -1) == '2' then
+
     elseif string.sub(id, -1) == '2' then
 
     pagename = 'Takao_(fog)'
 
     pagename = 'Takao_(fog)'
     elseif string.sub(shipmodule.data[id], -1) == '3' then
+
     elseif string.sub(id, -1) == '3' then
 
     pagename = 'Haruna_(fog)'
 
     pagename = 'Haruna_(fog)'
 
else
 
else
5,421

edits