Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions code/game/machinery/synth_pod.dm
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ GLOBAL_LIST_EMPTY(synth_pods)
close_machine(target)
stored = target
update_icon()

switch_body(target)
if(target.client)
switch_body(target)

/obj/machinery/synth_pod/proc/switch_body(mob/living/carbon/human/user)
var/datum/species/wy_synth/S = user.dna.species
Expand All @@ -98,6 +98,12 @@ GLOBAL_LIST_EMPTY(synth_pods)
continue
if(!pod.stored)
continue
else
var/mob/living/carbon/human/target_synth = pod.stored
if(!istype(target_synth))
continue
if(target_synth.stat == DEAD)
continue
options["[get_area(pod)] ([pod.x], [pod.y])"] = pod

var/response = tgui_input_list(user, "Which synthetic unit would you like to transfer into?", "Synthetic Personality Transfer", options)
Expand Down