Changes

Disable nicknames
Line 61: Line 61:  
local japanese_name = ship:japanese_name()
 
local japanese_name = ship:japanese_name()
 
if japanese_name and (text or link) ~= japanese_name then
 
if japanese_name and (text or link) ~= japanese_name then
table.insert(value, " ")
   
table.insert(value, Formatting:format_stat(japanese_name))
 
table.insert(value, Formatting:format_stat(japanese_name))
 
end
 
end
local nickname = ship:nick()
+
--local nickname = ship:nick()
if nickname then
+
--if nickname then
table.insert(value, format{self._nickname_template, nickname = Formatting:format_stat(nickname)})
+
-- table.insert(value, format{self._nickname_template, nickname = Formatting:format_stat(nickname)})
end
+
--end
return {values = {value = table.concat(value)}, bg_color = self._transparent, text_align = self._center_align}
+
return {values = {value = table.concat(value, " ")}, bg_color = self._transparent, text_align = self._center_align}
 
end
 
end
  
Anonymous user