From c1c3386ab5b5c490cf10c9195f138830598b73ca Mon Sep 17 00:00:00 2001 From: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Date: Mon, 7 Apr 2025 18:01:53 +0200 Subject: [PATCH] Fixes constant modular computer runtimes (#90454) ## About The Pull Request Caused constant runtimes because modular computers, be it PDAs, laptops, or whatever, can not have an ID. ## Changelog :cl: fix: Fixed constant runtimes caused by modular computers without IDs /:cl: --- code/modules/modular_computers/computers/item/computer.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/modular_computers/computers/item/computer.dm b/code/modules/modular_computers/computers/item/computer.dm index 06243edd0f5..d471ff140da 100644 --- a/code/modules/modular_computers/computers/item/computer.dm +++ b/code/modules/modular_computers/computers/item/computer.dm @@ -998,7 +998,7 @@ if(SEC_LEVEL_RED) // all-hands-on-deck situations, everyone is responsible for combatting a threat return ALERT_RELEVANCY_PERTINENT if(SEC_LEVEL_BLUE) // suspected threat. security needs to be alert and possibly preparing for it, no further concerns - if(ACCESS_SECURITY in computer_id_slot.access) + if(ACCESS_SECURITY in computer_id_slot?.access) return ALERT_RELEVANCY_PERTINENT else return ALERT_RELEVANCY_WARN