From b0be07076fb0434e005c6bcf1bd09d18e3f95c78 Mon Sep 17 00:00:00 2001 From: Heroman Date: Sat, 18 Jun 2022 16:45:27 +1000 Subject: [PATCH] Fixes Absorbed Hold messages causing blank spaces to absorbed prey if you had none set --- code/modules/vore/eating/bellymodes_vr.dm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/modules/vore/eating/bellymodes_vr.dm b/code/modules/vore/eating/bellymodes_vr.dm index 5a92072756f..3435541f190 100644 --- a/code/modules/vore/eating/bellymodes_vr.dm +++ b/code/modules/vore/eating/bellymodes_vr.dm @@ -124,7 +124,8 @@ formatted_message = replacetext(formatted_message, "%pred", owner) formatted_message = replacetext(formatted_message, "%prey", M) formatted_message = replacetext(formatted_message, "%countprey", absorbed_count) - to_chat(M, "[formatted_message]") + if(formatted_message) + to_chat(M, "[formatted_message]") else if(digest_mode == DM_DIGEST && !M.digestable) EL = emote_lists[DM_HOLD] // Use Hold's emote list if we're indigestible @@ -136,7 +137,8 @@ formatted_message = replacetext(formatted_message, "%prey", M) formatted_message = replacetext(formatted_message, "%countprey", living_count) formatted_message = replacetext(formatted_message, "%count", contents.len) - to_chat(M, "[formatted_message]") + if(formatted_message) + to_chat(M, "[formatted_message]") if(to_update) updateVRPanels()