Fix security camera console users never being removed from the watchers list when closing the UI (#18742)

* fix watchers never being removed from security cameras

* calls parent
This commit is contained in:
SteelSlayer
2022-08-09 10:04:04 +01:00
committed by GitHub
parent 7fc479b7a8
commit f376719d79
+4
View File
@@ -83,6 +83,10 @@
ui = new(user, src, ui_key, "CameraConsole", name, 870, 708, master_ui, state)
ui.open()
/obj/machinery/computer/security/ui_close(mob/user)
..()
watchers -= user.UID()
/obj/machinery/computer/security/ui_data()
var/list/data = list()
data["network"] = network