diff --git a/MTA10_Server/mods/deathmatch/logic/CRemoteCalls.cpp b/MTA10_Server/mods/deathmatch/logic/CRemoteCalls.cpp index 5b2ebaa59f..1d916ad720 100644 --- a/MTA10_Server/mods/deathmatch/logic/CRemoteCalls.cpp +++ b/MTA10_Server/mods/deathmatch/logic/CRemoteCalls.cpp @@ -148,8 +148,9 @@ void CRemoteCall::ProgressCallback(double sizeJustDownloaded, double totalDownlo arguments.PushString("ERROR"); arguments.PushNumber(error); arguments.Call ( call->m_VM, call->m_iFunction); + + g_pGame->GetRemoteCalls()->Remove(call); // delete ourselves } - g_pGame->GetRemoteCalls()->Remove(call); // delete ourselves } }