Fixes always tasting, and sending taste message to wrong person

This commit is contained in:
Cyantime
2017-07-28 20:01:16 -04:00
parent f458f80109
commit ffb03e1568
+2 -2
View File
@@ -402,8 +402,8 @@
user.update_icons()
// Flavor handling
if(prey.get_taste_message(0))
to_chat(src, "<span class='notice'>[prey] tastes of [prey.get_taste_message(0)].</span>")
if(belly_target.can_taste && prey.get_taste_message(0))
to_chat(belly_target.owner, "<span class='notice'>[prey] tastes of [prey.get_taste_message(0)].</span>")
// Inform Admins
if (pred == user)