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
🆑
fix: Fixed constant runtimes caused by modular computers without IDs
/🆑
This commit is contained in:
SmArtKar
2025-04-07 18:01:53 +02:00
committed by GitHub
parent 11f404b209
commit 090463ac3e
@@ -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