From 090463ac3e47696957399fbe2be7d8ae11636d17 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 78c2590d4d9..212d67f633a 100644 --- a/code/modules/modular_computers/computers/item/computer.dm +++ b/code/modules/modular_computers/computers/item/computer.dm @@ -997,7 +997,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