Allows the connect_loc element to have a listener different from the tracked object (#58276)

This commit is contained in:
Emmett Gaines
2021-04-10 18:19:57 -07:00
committed by GitHub
parent f7aebaa133
commit 1c81adac8d
30 changed files with 84 additions and 63 deletions
+1 -1
View File
@@ -73,7 +73,7 @@
)
if (flags_1 & ON_BORDER_1)
AddElement(/datum/element/connect_loc, loc_connections)
AddElement(/datum/element/connect_loc, src, loc_connections)
/obj/structure/window/ComponentInitialize()
. = ..()