mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
[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:
@@ -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
Reference in New Issue
Block a user