mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 11:05:50 +01:00
nullcheck (#18801)
This commit is contained in:
@@ -149,11 +149,13 @@ GLOBAL_LIST_EMPTY(entertainment_screens)
|
||||
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