mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
[MIRROR] Entertainment monitor nullcheck (#11999)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1976a1c453
commit
1d3affcf62
@@ -160,11 +160,13 @@ GLOBAL_LIST_EMPTY(bodycamera_screens) // CHOMPEdit
|
||||
if(stat & NOPOWER)
|
||||
return
|
||||
showing = WEAKREF(thing)
|
||||
pinboard.vis_contents = list(thing)
|
||||
if(pinboard)
|
||||
pinboard.vis_contents = list(thing)
|
||||
|
||||
/obj/machinery/computer/security/telescreen/entertainment/proc/stop_showing()
|
||||
// Reverse of the above
|
||||
pinboard.vis_contents = null
|
||||
if(pinboard)
|
||||
pinboard.vis_contents = null
|
||||
showing = null
|
||||
|
||||
/obj/machinery/computer/security/telescreen/entertainment/proc/maybe_stop_showing(datum/weakref/thingref)
|
||||
|
||||
Reference in New Issue
Block a user