mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +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
|
||||
A.circuit = M
|
||||
A.anchored = 1
|
||||
A.density = 1
|
||||
A.frame_type = M.board_type
|
||||
if(A.frame_type.circuit)
|
||||
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)
|
||||
for(var/obj/D in component_parts)
|
||||
D.forceMove(src.loc)
|
||||
|
||||
Reference in New Issue
Block a user