mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 04:57:47 +01:00
Disable afk prey pref for dead people (#19218)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user