From 7f5e75d6cbe4a8a2ba04327dab0d16b914271f7a Mon Sep 17 00:00:00 2001 From: Helve Tica Date: Sat, 4 Jan 2025 01:25:50 -0500 Subject: [PATCH] mrrp meow --- code/modules/surgery/surgery.dm | 2 +- .../packages/tgui/interfaces/OperatingComputer.js | 15 ++------------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/code/modules/surgery/surgery.dm b/code/modules/surgery/surgery.dm index 3743aec08b9..b6ae6f8fa96 100644 --- a/code/modules/surgery/surgery.dm +++ b/code/modules/surgery/surgery.dm @@ -7,7 +7,7 @@ var/surgery_odds = 30 // temporary - surgery odds for on-turf. /datum/surgery_step - var/step_name = "" //label to show for this step on operating consoles + var/step_name = "" //label to show for this step on operating consoles var/priority = 0 //steps with higher priority would be attempted first diff --git a/tgui/packages/tgui/interfaces/OperatingComputer.js b/tgui/packages/tgui/interfaces/OperatingComputer.js index 21e574f498e..7fb2353f022 100644 --- a/tgui/packages/tgui/interfaces/OperatingComputer.js +++ b/tgui/packages/tgui/interfaces/OperatingComputer.js @@ -56,6 +56,7 @@ const PatientStateView = (props, context) => { const { act, data } = useBackend(context); const { table, + hasOccupant, patient, } = data; const patientStat = patientStates[patient.stat] || patientStates[3]; @@ -69,7 +70,7 @@ const PatientStateView = (props, context) => { return ( <>
- {data.hasOccupant && ( + {hasOccupant && ( { {v} ))} - {!!data.alternative_step && ( - - {procedure.alternative_step} - {procedure.alt_chems_needed && ( - <> - Required Chemicals: -
- {procedure.alt_chems_needed} - - )} -
- )}
))}