Changes

m
no edit summary
Line 284: Line 284:  
         local name, suffix = Ship:process_ship_key(form.name)
 
         local name, suffix = Ship:process_ship_key(form.name)
 
         suffix = suffix or ""
 
         suffix = suffix or ""
         local title = form.seasonal and (form.season_suffix or suffix) or suffix == "" and name == ship_name and "Base" or suffix
+
         local title = form.seasonal and (form.season_suffix or suffix) or suffix == "" and (name == ship_name and "Base" or name) or suffix
 
         if not first_seasonal and form.seasonal then
 
         if not first_seasonal and form.seasonal then
 
             first_seasonal = true
 
             first_seasonal = true
Line 330: Line 330:  
             local name, suffix = Ship:process_ship_key(form.name)
 
             local name, suffix = Ship:process_ship_key(form.name)
 
             suffix = suffix or ""
 
             suffix = suffix or ""
             local title = form.seasonal and suffix or suffix == "" and name == ship_name and "Base" or suffix
+
             local title = form.seasonal and suffix or suffix == "" and (name == ship_name and "Base" or name) or suffix
 
             table.insert(result, "{{!}}-{{!}}" .. title .. "=")
 
             table.insert(result, "{{!}}-{{!}}" .. title .. "=")
 
             if form.normal and form.damaged then
 
             if form.normal and form.damaged then
cssedit, gkautomate
7,060

edits