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:
DeltaFire
2020-11-13 02:41:34 +01:00
parent 935c412629
commit a9fda43bc2
3 changed files with 3 additions and 2 deletions

View File

@@ -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