From 431ab8fc0ba6a470c8721c284129c7c2b68d86a9 Mon Sep 17 00:00:00 2001 From: Ghommie <42542238+Ghommie@users.noreply.github.com> Date: Sun, 3 Nov 2019 17:56:30 +0100 Subject: [PATCH] better be safe than sorry. --- code/modules/holiday/halloween/jacqueen.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/holiday/halloween/jacqueen.dm b/code/modules/holiday/halloween/jacqueen.dm index 3120b7acd4..d71e7c0f6a 100644 --- a/code/modules/holiday/halloween/jacqueen.dm +++ b/code/modules/holiday/halloween/jacqueen.dm @@ -111,7 +111,7 @@ var/list/targets = list() for(var/H in GLOB.network_holopads) var/area/A = get_area(H) - if(findtextEx(A.name, "AI") || !(A in pop_areas) || !is_station_level(H)) + if(!A || findtextEx(A.name, "AI") || !(A in pop_areas) || !is_station_level(H)) continue targets += H