Skip to content

Commit

Permalink
fix(deathlink): Send the DeathLink tag on ConnectUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
Marechal-L committed Dec 3, 2022
1 parent 780ae65 commit 0f0c1b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions archipelago-client/ArchipelagoInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ BOOL CArchipelago::Initialise(std::string URI) {
(data.at("options").contains("no_equip_load")) ? (data.at("options").at("no_equip_load").get_to(GameHook->dIsNoEquipLoadRequirements)) : GameHook->dIsNoEquipLoadRequirements = false;
}

std::list<std::string> tags;
if (GameHook->dIsDeathLink) {
tags.push_back("DeathLink");
ap->ConnectUpdate(false, 1, true, tags);
}

});
ap->set_slot_disconnected_handler([]() {
Expand Down

0 comments on commit 0f0c1b7

Please sign in to comment.