Disable afk prey pref for dead people (#19218)

This commit is contained in:
TheGreatKitsune
2026-02-22 23:06:24 +01:00
committed by GitHub
parent f4bea6669a
commit 9a832c3ea6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -192,7 +192,7 @@
return FALSE
to_chat(user, span_vnotice("The predator prefers not to be fed while AFK"))
return FALSE
if(!prey.can_be_afk_prey && (!prey.client || prey.away_from_keyboard))
if(!prey.is_dead() && !prey.can_be_afk_prey && (!prey.client || prey.away_from_keyboard))
if(user == prey)
to_chat(user, span_vwarning("You aren't set as being able to prey while AFK"))
return FALSE