Skip to content

Commit

Permalink
boss pinpointers no longer show corpses (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gboster-0 authored Aug 30, 2024
1 parent fa7df4c commit 25824e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/_core/obj/item/pinpointer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,13 @@
var/list/possible_bosses = list()

for(var/k in SSbosses.tracked_bosses)
var/atom/A = k
var/mob/living/A = k
if(!can_track(A))
continue
if(!is_living(A))
continue
if(A.health.health_current < 0)
continue
var/name_mod = "[A.name] ([dir2text(get_dir_advanced(caller,A))], [get_dist_advanced(src,A)]m)"
possible_bosses[name_mod] = A

Expand Down

0 comments on commit 25824e8

Please sign in to comment.