Skip to content

Commit

Permalink
remove dlman broadcast on grabbing leaderboards (use callbacks instead)
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Nov 28, 2018
1 parent a876629 commit 4509801
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/DownloadManager.cpp
Expand Up @@ -1568,8 +1568,6 @@ DownloadManager::RequestChartLeaderBoard(string chartkey, LuaReference ref)
// json failed
}

Message msg("ChartLeaderboardUpdate");

if (!ref.IsNil() && ref.IsSet()) {
Lua* L = LUA->Get();
ref.PushSelf(L);
Expand All @@ -1587,13 +1585,6 @@ DownloadManager::RequestChartLeaderBoard(string chartkey, LuaReference ref)
}
LUA->Release(L);
}
// float ProbablyUnderratedness =
// mythicalmathymathsProbablyUnderratedness(chartkey); float coop =
// overratedness(chartkey);
// Renaming these 2 requires renaming them in lua wherever theyre used
// msg.SetParam("mmm", ProbablyUnderratedness);
// msg.SetParam("ixmixblixb", 2);
MESSAGEMAN->Broadcast(msg);
};
SendRequest("/charts/" + chartkey + "/leaderboards",
vector<pair<string, string>>(),
Expand Down

0 comments on commit 4509801

Please sign in to comment.