[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:
SkyratBot
2022-02-28 11:36:18 -05:00
committed by GitHub
co-authored by Tastyfish
parent 79d7072331
commit c81956ec48
+3
View File
@@ -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)