Fix SHOULD_NOT_SLEEP hit in infra assemblies (#75408)

See #75232 

refreshBeam() is a sleeping proc, dropped gets called on Destroy()
This commit is contained in:
Jordan Dominion
2023-05-14 15:38:55 -04:00
committed by GitHub
parent e4a4df56a1
commit 45f44a4bb3
+1 -1
View File
@@ -75,7 +75,7 @@
if(holder)
holder_movement() //sync the dir of the device as well if it's contained in a TTV or an assembly holder
else
refreshBeam()
INVOKE_ASYNC(src, PROC_REF(refreshBeam))
/obj/item/assembly/infra/process()
if(!on || !secured)