File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ bool CSharpResource::OnEvent(const alt::CEvent* ev) {
298298 case alt::CEvent::Type::PLAYER_DISCONNECT: {
299299 auto disconnectEvent = reinterpret_cast <const alt::CPlayerDisconnectEvent*>(ev);
300300 auto disconnectPlayer = disconnectEvent->GetTarget ();
301- auto reason = disconnectEvent->GetReason ();
301+ /* auto reason = disconnectEvent->GetReason();
302302 if (reason != nullptr && reason.GetSize() > 0) {
303303 auto reasonCStr = reason.CStr();
304304 if (reasonCStr != nullptr) {
@@ -307,11 +307,11 @@ bool CSharpResource::OnEvent(const alt::CEvent* ev) {
307307 } else {
308308 OnPlayerDisconnectDelegate(disconnectPlayer,
309309 "");
310- }
311- } else {
310+ }*/
311+ // } else {
312312 OnPlayerDisconnectDelegate (disconnectPlayer,
313313 " " );
314- }
314+ // }
315315 break ;
316316 }
317317 case alt::CEvent::Type::REMOVE_ENTITY_EVENT: {
You can’t perform that action at this time.
0 commit comments