Fixes a runtime in requests console error logging (#89044)

## About The Pull Request
Target is null so we cannot work with its area, etc etc.

## Changelog
🆑
fix: Fixed a runtime in requests console error logging
/🆑
This commit is contained in:
SmArtKar
2025-01-15 09:35:26 +01:00
committed by GitHub
parent 7785e78080
commit a95fb42425
+1 -1
View File
@@ -1274,7 +1274,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/mapping_helpers/no_atoms_ontop)
/obj/effect/mapping_helpers/requests_console/LateInitialize()
var/obj/machinery/airalarm/target = locate(/obj/machinery/requests_console) in loc
if(isnull(target))
var/area/target_area = get_area(target)
var/area/target_area = get_area(src)
log_mapping("[src] failed to find a requests console at [AREACOORD(src)] ([target_area.type]).")
else
payload(target)