Skip to content

Commit

Permalink
more side effects
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSuckerberg committed Dec 13, 2024
1 parent 58a5829 commit 4a0a951
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
5 changes: 1 addition & 4 deletions code/game/machinery/cloning.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,9 @@
begin_processing()

/obj/machinery/clonepod/Destroy()
var/mob/living/mob_occupant = occupant
go_out()
if(mob_occupant)
log_cloning("[key_name(mob_occupant)] ejected from [src] at [AREACOORD(src)] due to Destroy().")
QDEL_NULL(radio)
QDEL_NULL(countdown)
QDEL_NULL(occupant)
if(connected)
connected.DetachCloner(src)
QDEL_LIST(unattached_flesh)
Expand Down
5 changes: 4 additions & 1 deletion code/game/machinery/gulag_item_reclaimer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@
var/list/stored_items = list()
var/obj/machinery/gulag_teleporter/linked_teleporter = null

/obj/machinery/gulag_item_reclaimer/Destroy()
/obj/machinery/gulag_item_reclaimer/deconstruct(disassembled)
for(var/i in contents)
var/obj/item/I = i
I.forceMove(get_turf(src))
return ..()

/obj/machinery/gulag_item_reclaimer/Destroy()
if(linked_teleporter)
linked_teleporter.linked_reclaimer = null
return ..()
Expand Down
2 changes: 1 addition & 1 deletion code/game/machinery/slotmachine.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
var/obj/item/coin/C = cointype
coinvalues["[cointype]"] = initial(C.value)

/obj/machinery/computer/slot_machine/Destroy()
/obj/machinery/computer/slot_machine/deconstruct(disassembled, mob/user)
if(balance)
give_payout(balance)
return ..()
Expand Down
2 changes: 1 addition & 1 deletion code/modules/power/port_gen.dm
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
var/obj/S = sheet_path
sheet_name = initial(S.name)

/obj/machinery/power/port_gen/pacman/Destroy()
/obj/machinery/power/port_gen/pacman/deconstruct(disassembled)
DropFuel()
return ..()

Expand Down

0 comments on commit 4a0a951

Please sign in to comment.