Skip to content

Commit

Permalink
No NPC Facts
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Aug 13, 2023
1 parent 5f4e608 commit b8f0185
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/datums/statistics/random_facts/random_fact.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
list_to_check += GLOB.living_xeno_list

for(var/mob/checked_mob as anything in list_to_check)
if(!checked_mob?.persistent_ckey)
continue // We don't care about NPCs
if(living_stat_gotten < life_grab_stat(checked_mob))
mob_to_report = checked_mob
living_stat_gotten = life_grab_stat(checked_mob)
Expand Down

0 comments on commit b8f0185

Please sign in to comment.