diff --git a/tgui/packages/tgui/interfaces/Orbit/index.tsx b/tgui/packages/tgui/interfaces/Orbit/index.tsx index afa446f20109..83dfe3b361b2 100644 --- a/tgui/packages/tgui/interfaces/Orbit/index.tsx +++ b/tgui/packages/tgui/interfaces/Orbit/index.tsx @@ -252,7 +252,9 @@ const ObservableTooltip = (props: { item: Observable }) => { const { item: { caste, health, job, full_name, icon, background_color }, } = props; - const displayHealth = !!health && health >= 0 ? `${health}%` : 'Critical'; + + const displayHealth = typeof health === 'number'; + const healthText = !!health && health >= 0 ? `${health}%` : 'Critical'; return ( @@ -275,8 +277,8 @@ const ObservableTooltip = (props: { item: Observable }) => { {job} )} - {!!health && ( - {displayHealth} + {displayHealth && ( + {healthText} )} );