Skip to content

Commit

Permalink
add arcdps fallback for ev_account_name
Browse files Browse the repository at this point in the history
  • Loading branch information
SubiqT committed Jun 9, 2024
1 parent 43c2684 commit 1133cfb
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 1133cfb

Please sign in to comment.