This commit is contained in:
Will
2026-08-10 12:24:18 +02:00
committed by GitHub
parent ff7f364ff2
commit 2ef5e9baa6
+9 -7
View File
@@ -133,8 +133,14 @@
var/mob/living/carbon/WC = get_occupant()
go_out()
for(var/obj/O in src)
if((!istype(O,/obj/item/reagent_containers)) && (!istype(O,/obj/item/circuitboard/clonescanner)) && (!istype(O,/obj/item/stock_parts)) && (!istype(O,/obj/item/stack/cable_coil)))
O.forceMove(get_turf(src)) //Ejects items that manage to get in there (exluding the components)
//Ejects items that manage to get in there (exluding the components, and beakers)
if(O == beaker)
continue
if(O == circuit)
continue
if(O in component_parts)
continue
O.forceMove(get_turf(src))
if(!WC)
for(var/mob/M in src)//Failsafe so you can get mobs out
M.forceMove(get_turf(src))
@@ -597,11 +603,7 @@
if("ejectOccupant")
playsound(src, 'sound/machines/button.ogg', 30, 1, 0)
connected.eject_occupant()
// Eject disk too, because we can't get to the UI otherwise
if(!disk)
return TRUE
disk.forceMove(get_turf(src))
disk = null
return TRUE
// Transfer Buffer Management
if("bufferOption")
var/bufferOption = params["option"]