mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
makes the operating computer show toxin / corruption
An ugly way to do this, but still LESS ugly than rewriting the entire thing. It'll be FIIIINE
This commit is contained in:
@@ -90,7 +90,7 @@ const PatientStateView = (props, context) => {
|
||||
</ProgressBar>
|
||||
</LabeledList.Item>
|
||||
{damageTypes.map(type => (
|
||||
<LabeledList.Item key={type.type} label={type.label}>
|
||||
<LabeledList.Item key={type.type} label={(patient.is_robotic_organism && type.label === 'Toxin') ? 'Corruption' : type.label}>
|
||||
<ProgressBar
|
||||
value={patient[type.type] / patient.maxHealth}
|
||||
color="bad">
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user