Skip to content

Commit

Permalink
bbbb
Browse files Browse the repository at this point in the history
  • Loading branch information
ihatethisengine committed Apr 4, 2024
1 parent 7833fce commit b5934c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/game/machinery/computer/camera_console.dm
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,13 @@
/obj/structure/machinery/computer/cameras/wooden_tv/prop/ui_act(action, params)
. = ..()
if(action != "switch_camera")
return .
return
broadcastingcamera = null
if (!istype(current, /obj/structure/machinery/camera/correspondent))
return .
return
var/obj/structure/machinery/camera/correspondent/corr_cam = current
if (!corr_cam.linked_broadcasting)
return .
return
broadcastingcamera = corr_cam.linked_broadcasting
RegisterSignal(broadcastingcamera, COMSIG_BROADCAST_GO_LIVE, TYPE_PROC_REF(/obj/structure/machinery/computer/cameras/wooden_tv/prop, go_back_live))

Expand Down

0 comments on commit b5934c1

Please sign in to comment.