Changes

no edit summary
Line 205: Line 205:  
local hp_max = self._ship:hp_max()
 
local hp_max = self._ship:hp_max()
 
if hp_max then
 
if hp_max then
return Formatting:tooltip(hp, format{self._kekkon_max_template, value = Formatting:format_stat(hp_max)})
+
self._vars.hp = Formatting:tooltip(hp, format{self._kekkon_max_template, value = Formatting:format_stat(hp_max)})
 +
else
 +
self._vars.hp = hp
 
end
 
end
self._vars.hp = hp
   
end
 
end
  
Anonymous user