[FIX TGUI]: Organ's healthbars in bodyscanners (#21653)

* Fix: Organ's healthbars in bodyscanners
https://github.com/ss220-space/Paradise/pull/1066

* update tgui bundle
This commit is contained in:
larentoun
2023-07-17 11:37:53 +01:00
committed by GitHub
parent c7935c8f35
commit fe271f15ae
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -293,7 +293,7 @@ const BodyScannerMainOrgansExternal = (props) => {
min="0"
max={o.maxHealth}
mt={i > 0 && '0.5rem'}
value={o.totalLoss / 100}
value={o.totalLoss / o.maxHealth}
ranges={damageRange}
>
<Box float="left" display="inline">
@@ -386,7 +386,7 @@ const BodyScannerMainOrgansInternal = (props) => {
<ProgressBar
min="0"
max={o.maxHealth}
value={o.damage / 100}
value={o.damage / o.maxHealth}
mt={i > 0 && '0.5rem'}
ranges={damageRange}
>
File diff suppressed because one or more lines are too long