Changes

m
no edit summary
Line 194: Line 194:  
         end
 
         end
 
     end
 
     end
    table.insert(self._items, "extra")
   
end
 
end
   Line 241: Line 240:  
)
 
)
 
    end
 
    end
        elseif row_values == "extra" then
  −
            table.insert(self._rows, self._row_starter)
  −
            table.insert(self._rows, format{self._calculated_cell_template,
  −
                elos = string.format("%.2f", self._elos - (self._hq_lvl * 0.61)),
  −
                fighter_power = self._fighter_power,
  −
                bg_color = self._extra_cells_bg
  −
            })
  −
            table.insert(self._rows, self._row_starter)
  −
            table.insert(self._rows, format{self._route_cell_template,
  −
                route = self._route,
  −
                bg_color = self._extra_cells_bg
  −
            })
   
end
 
end
end
+
    end
 +
    --Anything that's added after the table ends
 +
    table.insert(self._rows, self._row_starter)
 +
    table.insert(self._rows, format{self._calculated_cell_template,
 +
        elos = string.format("%.2f", self._elos - (self._hq_lvl * 0.61)),
 +
        fighter_power = self._fighter_power,
 +
        bg_color = self._extra_cells_bg
 +
    })
 +
    table.insert(self._rows, self._row_starter)
 +
    table.insert(self._rows, format{self._route_cell_template,
 +
        route = self._route,
 +
        bg_color = self._extra_cells_bg
 +
    })
 
end
 
end
    
return NanaminFleet
 
return NanaminFleet
48

edits