Skip to content

Commit

Permalink
pirogi 3
Browse files Browse the repository at this point in the history
  • Loading branch information
BaraBarax committed Jan 23, 2024
1 parent c20f4ed commit cdaa059
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions code/game/machinery/doors/blast_door.dm
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,16 @@

/obj/machinery/door/blast/dismantle()
playsound(loc, 'sound/items/Crowbar.ogg', 50, 1)
var/obj/structure/secure_door/A = new assembly_path(get_turf(src))
var/obj/item/device/assembly/signaler/S = new /obj/item/device/assembly/signaler(get_turf(src))
if(code && frequency)
S.code = code
S.frequency = frequency
var/turf/T = get_turf(src)
var/obj/structure/secure_door/A = new assembly_path(T)
A.anchored = TRUE
A.dir = dir
A.state = 2
A.update_icon()
var/obj/item/device/assembly/signaler/S = new /obj/item/device/assembly/signaler(T)
if(code && frequency)
S.code = code
S.frequency = frequency
qdel(src)
return

Expand Down

0 comments on commit cdaa059

Please sign in to comment.