mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user