Skip to content

Commit

Permalink
Merge pull request #3 from SubiqT/main
Browse files Browse the repository at this point in the history
Add arcdps fallback for EV_ACCOUNT_NAME
  • Loading branch information
DeltaGW2 authored Jun 9, 2024
2 parents 43c2684 + 1133cfb commit 0f919db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/entry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,10 @@ void AgentUpdate(EvCombatData* evCbtData)
std::scoped_lock lck(Mutex);
Self = evAgentUpdate;
APIDefs->RaiseEvent("EV_ARCDPS_SELF_JOIN", (void*)&Self);
if (AccountName.empty()) {
AccountName = Self.account;
APIDefs->RaiseEvent("EV_ACCOUNT_NAME", (void*)AccountName.c_str());
}
}
}

Expand Down

0 comments on commit 0f919db

Please sign in to comment.