From 80b0d036d7ecdd65cda834d9e6f7951c1e9ccad4 Mon Sep 17 00:00:00 2001 From: aMannus Date: Sat, 5 Jul 2025 14:45:59 +0200 Subject: [PATCH] Fix death link crash --- soh/soh/Network/Archipelago/Archipelago.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/soh/soh/Network/Archipelago/Archipelago.cpp b/soh/soh/Network/Archipelago/Archipelago.cpp index 97140b50d..4421a90ba 100644 --- a/soh/soh/Network/Archipelago/Archipelago.cpp +++ b/soh/soh/Network/Archipelago/Archipelago.cpp @@ -496,6 +496,9 @@ void ArchipelagoClient::SendDeathLink() { } void ArchipelagoClient::SetDeathLinkTag() { + if (!apClient) { + return; + } std::list tags; if (CVarGetInteger(CVAR_REMOTE_ARCHIPELAGO("DeathLink"), 0)) { tags.push_back("DeathLink");