- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Changes
Jump to navigation
Jump to search
Line 184:
Line 184:
− +
+
+
+
+
+
Don't add span when no true_id
function ShipInfoKai:id()
function ShipInfoKai:id()
self._vars.id = Formatting:tooltip(self._ship:id() or "", self._ship:true_id() or "")
local true_id = self._ship:true_id()
if true_id then
self._vars.id = Formatting:tooltip(Formatting:format_stat(self._ship:id()), Formatting:format_stat(true_id))
else
self._vars.id = Formatting:format_stat(self._ship:id())
end
end
end