mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
[MIRROR] Add null check for status display circuitboard in case somehow is free of its prison [MDB IGNORE] (#11770)
* Add null check for status display circuit (#65164) * Add null check for status display circuitboard in case somehow is free of its prison Co-authored-by: Tastyfish <crazychris32@gmail.com>
This commit is contained in:
@@ -562,6 +562,9 @@ MAPPING_DIRECTIONAL_HELPERS(/obj/machinery/status_display/ai, 32)
|
||||
// Just use command handling built into status display.
|
||||
// The option inputs thankfully sanitize command and picture for us.
|
||||
|
||||
if(!connected_display)
|
||||
return
|
||||
|
||||
var/command_value = command_map[command.value]
|
||||
var/datum/signal/status_signal = new(list("command" = command_value))
|
||||
switch(command_value)
|
||||
|
||||
Reference in New Issue
Block a user