Skip to content

Commit

Permalink
mrrp meow
Browse files Browse the repository at this point in the history
  • Loading branch information
its-helvi committed Jan 4, 2025
1 parent 46580e5 commit 7f5e75d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion code/modules/surgery/surgery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
15 changes: 2 additions & 13 deletions tgui/packages/tgui/interfaces/OperatingComputer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand All @@ -69,7 +70,7 @@ const PatientStateView = (props, context) => {
return (
<>
<Section title={patient.name || "Patient State"}>
{data.hasOccupant && (
{hasOccupant && (
<LabeledList>
<LabeledList.Item
label="State"
Expand Down Expand Up @@ -119,18 +120,6 @@ const PatientStateView = (props, context) => {
{v}
</LabeledList.Item>
))}
{!!data.alternative_step && (
<LabeledList.Item label="Alternative Step">
{procedure.alternative_step}
{procedure.alt_chems_needed && (
<>
<b>Required Chemicals:</b>
<br />
{procedure.alt_chems_needed}
</>
)}
</LabeledList.Item>
)}
</LabeledList>
</Section>
))}
Expand Down

0 comments on commit 7f5e75d

Please sign in to comment.