Skip to content

Commit

Permalink
fix AI eye crisis alert locations
Browse files Browse the repository at this point in the history
  • Loading branch information
TobleroneSwordfish committed Nov 27, 2023
1 parent e2c6bcc commit e69d7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/obj/item/device/pda2/smallprogs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ Code:

if (isAIeye(usr))
var/turf/eye_loc = get_turf(usr)
if (!(eye_loc.camera_coverage_emitters && length(eye_loc.camera_coverage_emitters)))
if (length(eye_loc.camera_coverage_emitters))
an_area = get_area(eye_loc)

signal.data["message"] = SPAN_ALERT("<b>***CRISIS ALERT*** Location: [an_area ? an_area.name : "nowhere"]!</b>")
Expand Down

0 comments on commit e69d7c8

Please sign in to comment.