Permalink
Browse files

added momir

  • Loading branch information...
Manuel-777 committed Sep 18, 2018
1 parent 16dccb2 commit f341e66d81ee1b395de2dc81aa9d080f67180c01
Showing with 5 additions and 1 deletion.
  1. +2 −0 shared/util.js
  2. +3 −1 window_background/background.js
@@ -241,6 +241,8 @@ function getReadableEvent(arg) {
return "Twice the Life"; break;
case "QuickDraftExploration_M_":
return "Quick Draft Exploration M19"; break;
case "Momir_":
return "Momir Mardness"; break;
case "CompDraft_DOM_":
return "Competitive Draft DOM"; break;
@@ -250,7 +250,7 @@ ipc.on('request_explore', function (event, arg) {
if (arg == "all" || arg == "All" ) {
arg = "";
}
arg = arg.replace("_m_", "_m19_");// dirty hack :()
arg = arg.replace("_m_", "_m19_");// dirty hack :(
httpGetTopDecks(arg);
});
@@ -281,6 +281,7 @@ function loadPlayerConfig(playerId) {
ipc_send("popup", "Reading history: "+i+" / "+history.matches.length);
var id = history.matches[i];
if (id != null) {
// this is the guilty of all slowdowns
var item = store.get(id);
if (item != undefined) {
history[id] = item;
@@ -297,6 +298,7 @@ function loadPlayerConfig(playerId) {
if (id != null) {
var item = store.get(id);
if (item != undefined) {
// this one too
history.matches.push(id);
history[id] = item;
history[id].type = "draft";

0 comments on commit f341e66

Please sign in to comment.