[MIRROR] Fix SHOULD_NOT_SLEEP hit in infra assemblies [MDB IGNORE] (#21168)

* Fix SHOULD_NOT_SLEEP hit in infra assemblies (#75408)

See #75232

refreshBeam() is a sleeping proc, dropped gets called on Destroy()

* Fix SHOULD_NOT_SLEEP hit in infra assemblies

---------

Co-authored-by: Jordan Dominion <Cyberboss@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-05-14 19:16:07 -07:00
committed by GitHub
co-authored by Jordan Dominion
parent 7703ba8636
commit 0b965c7fcb
+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)