Skip to content

Commit

Permalink
This way is better I think
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Oct 1, 2023
1 parent 65b4acc commit 93b92cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/objects/structures/crates_lockers/largecrate.dm
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
var/atom/movable/current_atom = contents[1]
current_atom.forceMove(current_turf)
if(istype(current_atom, /obj/structure/machinery))
var/obj/structure/machinery/current_machine = current_atom
current_machine.power_change()
var/area/current_area = get_area(src)
current_area.add_machine(current_atom)

deconstruct(TRUE)

Expand Down

0 comments on commit 93b92cc

Please sign in to comment.