Skip to content

Commit e4dca64

Browse files
repohgsej74
andauthored
Update map pool and add BOA logo (#56)
* add BOA logo * updated map pool adding ovp, removing anb --------- Co-authored-by: sej74 <sej74@drexel.edu>
1 parent e17ffcf commit e4dca64

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed
239 KB
Loading

src/common/images/franchise.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import ATL from "../../assets/images/franchise/ATL.png";
66
import ATO from "../../assets/images/franchise/ATO.png";
77
import AVI from "../../assets/images/franchise/AVI.png";
88
import dB from "../../assets/images/franchise/dB.png";
9+
import BOA from "../../assets/images/franchise/BOA.png";
910
import BS from "../../assets/images/franchise/BS.png";
1011
import COW from "../../assets/images/franchise/COW.png";
1112
import DRG from "../../assets/images/franchise/DRG.png";
@@ -39,6 +40,7 @@ export const franchiseImages: FranchiseImages = {
3940
ATO,
4041
AVI,
4142
dB,
43+
BOA,
4244
BS,
4345
COW,
4446
DRG,

src/common/utils/match-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const initialMapBans = {
2525
de_nuke: 0,
2626
de_mirage: 0,
2727
de_ancient: 0,
28-
de_anubis: 0,
28+
de_overpass: 0,
2929
de_dust2: 0,
3030
};
3131

src/pages/team/mapBans.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ import { Exandable } from "../../common/components/containers/Expandable";
88

99
type MapBansType = {
1010
de_inferno: number;
11-
//de_overpass: number;
11+
de_overpass: number;
1212
//de_vertigo: number;
1313
de_nuke: number;
1414
de_mirage: number;
1515
de_ancient: number;
16-
de_anubis: number;
16+
//de_anubis: number;
1717
de_dust2: number;
1818
de_train: number;
1919
};
@@ -27,7 +27,7 @@ export function MapBans({ matches, team }: Props) {
2727
console.info(mapBans)
2828
const mapFloats = calculateMapBanFloat(team, matches);
2929
const roundLabels = Object.keys(mapBans ?? {});
30-
const mapLabels = ["de_inferno", "de_train", "de_nuke", "de_mirage", "de_ancient", "de_anubis", "de_dust2"];
30+
const mapLabels = ["de_inferno", "de_train", "de_nuke", "de_mirage", "de_ancient", "de_overpass", "de_dust2"];
3131
const data = Object.values(mapBans ?? {})
3232
.map(i => Object.values(i))
3333
.map((round, row) => round.map((_, column) => [column, row, round[column] || "-"]));

0 commit comments

Comments
 (0)