From 234388269696e3383631f4f0450b1096577d91cb Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 19 May 2023 00:15:47 -0400 Subject: Fix blank death link reason message --- Archipelago/client.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Archipelago/client.gd b/Archipelago/client.gd index 8497a18..0326ffb 100644 --- a/Archipelago/client.gd +++ b/Archipelago/client.gd @@ -397,7 +397,7 @@ func _on_data(): var second_sentence = "" if message["data"].has("source"): first_sentence = "Received Death from %s" % message["data"]["source"] - if message["data"].has("cause"): + if message["data"].has("cause") and message["data"]["cause"] != "": second_sentence = ". Reason: %s" % message["data"]["cause"] messages_node.showMessage(first_sentence + second_sentence) -- cgit 1.4.1