From e1ed61ef35e279c6a940056066b6512bce0fba9f Mon Sep 17 00:00:00 2001 From: ktccd Date: Wed, 26 Jul 2017 00:27:20 +0200 Subject: [PATCH] Fixes empty subtle emotes (#2133) Makes the subtle emote not work if you try to use an empty emote string OR if you cancel it early. --- code/modules/mob/say_vr.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/say_vr.dm b/code/modules/mob/say_vr.dm index 35c7069d73..23bfab7a95 100644 --- a/code/modules/mob/say_vr.dm +++ b/code/modules/mob/say_vr.dm @@ -87,6 +87,8 @@ proc/get_top_level_mob(var/mob/S) alert("Unable to use this emote, must be either hearable or visible.") return message = subtle_emote + else + return FALSE else message = params if(type_override)