Skip to content

Commit

Permalink
connect reason is not there yet
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianTerhorst committed Dec 1, 2021
1 parent 350bd55 commit 7615a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/CSharpResourceImpl.cpp
Expand Up @@ -165,7 +165,7 @@ bool CSharpResourceImpl::OnEvent(const alt::CEvent* ev) {
auto beforeConnectEvent = (alt::CPlayerBeforeConnectEvent*)ev;
auto clrInfo = new ClrConnectionInfo(beforeConnectEvent->GetConnectionInfo());

OnPlayerBeforeConnectDelegate(beforeConnectEvent, clrInfo, beforeConnectEvent->GetReason().c_str());
OnPlayerBeforeConnectDelegate(beforeConnectEvent, clrInfo, "");

clrInfo->dealloc();
delete clrInfo;
Expand Down

0 comments on commit 7615a84

Please sign in to comment.