mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
Merge pull request #5413 from VOREStation/upstream-merge-6253
[MIRROR] Fixes deconstructed wall frames blocking passage
This commit is contained in:
@@ -415,11 +415,15 @@ Class Procs:
|
|||||||
var/obj/item/weapon/circuitboard/M = circuit
|
var/obj/item/weapon/circuitboard/M = circuit
|
||||||
A.circuit = M
|
A.circuit = M
|
||||||
A.anchored = 1
|
A.anchored = 1
|
||||||
A.density = 1
|
|
||||||
A.frame_type = M.board_type
|
A.frame_type = M.board_type
|
||||||
if(A.frame_type.circuit)
|
if(A.frame_type.circuit)
|
||||||
A.need_circuit = 0
|
A.need_circuit = 0
|
||||||
|
|
||||||
|
if(A.frame_type.frame_class == FRAME_CLASS_ALARM || A.frame_type.frame_class == FRAME_CLASS_DISPLAY)
|
||||||
|
A.density = 0
|
||||||
|
else
|
||||||
|
A.density = 1
|
||||||
|
|
||||||
if(A.frame_type.frame_class == FRAME_CLASS_MACHINE)
|
if(A.frame_type.frame_class == FRAME_CLASS_MACHINE)
|
||||||
for(var/obj/D in component_parts)
|
for(var/obj/D in component_parts)
|
||||||
D.forceMove(src.loc)
|
D.forceMove(src.loc)
|
||||||
|
|||||||
Reference in New Issue
Block a user