Skip to content

Commit

Permalink
Death Link option checked in slot data
Browse files Browse the repository at this point in the history
  • Loading branch information
NewSoupVi committed Mar 8, 2023
1 parent bc50440 commit 72c2017
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Source/Archipelago/APRandomizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,14 @@ bool APRandomizer::Connect(std::string& server, std::string& user, std::string&
}
}

std::list<std::string> newTags = { "DeathLink" };
if (slotData.contains("death_link")) {
if(slotData["death_link"] == true) {
std::list<std::string> newTags = { "DeathLink" };

ap->ConnectUpdate(NULL, newTags);
}
}

ap->ConnectUpdate(NULL, newTags);

connected = true;
hasConnectionResult = true;
Expand Down

0 comments on commit 72c2017

Please sign in to comment.