add magriders to websockert
This commit is contained in:
parent
871edfc96f
commit
d1ab9ae173
2 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,7 @@ const vehicles_hashmap = async () => {
|
||||||
"chimera",
|
"chimera",
|
||||||
"javelin",
|
"javelin",
|
||||||
"corsair",
|
"corsair",
|
||||||
|
"magrider",
|
||||||
];
|
];
|
||||||
|
|
||||||
const matcher = new RegExp(`\\b${relevantVehicles.join("|")}\\b`, "i");
|
const matcher = new RegExp(`\\b${relevantVehicles.join("|")}\\b`, "i");
|
||||||
|
|
|
@ -8,6 +8,7 @@ static VEHICLE_TO_NAME: Lazy<HashMap<&str, &str>> = Lazy::new(|| {
|
||||||
("1", "flash"),
|
("1", "flash"),
|
||||||
("2", "sunderer"),
|
("2", "sunderer"),
|
||||||
("3", "lightning"),
|
("3", "lightning"),
|
||||||
|
("4", "magrider"),
|
||||||
("5", "vanguard"),
|
("5", "vanguard"),
|
||||||
("6", "prowler"),
|
("6", "prowler"),
|
||||||
("7", "scythe"),
|
("7", "scythe"),
|
||||||
|
@ -28,6 +29,7 @@ static VEHICLE_TO_NAME: Lazy<HashMap<&str, &str>> = Lazy::new(|| {
|
||||||
("162", "ant"),
|
("162", "ant"),
|
||||||
("1001", "flash"),
|
("1001", "flash"),
|
||||||
("1002", "sunderer"),
|
("1002", "sunderer"),
|
||||||
|
("1004", "magrider"),
|
||||||
("1005", "vanguard"),
|
("1005", "vanguard"),
|
||||||
("1007", "scythe"),
|
("1007", "scythe"),
|
||||||
("1008", "reaver"),
|
("1008", "reaver"),
|
||||||
|
@ -47,6 +49,7 @@ static VEHICLE_TO_NAME: Lazy<HashMap<&str, &str>> = Lazy::new(|| {
|
||||||
("2130", "sunderer"),
|
("2130", "sunderer"),
|
||||||
("2131", "galaxy"),
|
("2131", "galaxy"),
|
||||||
("2132", "valkyrie"),
|
("2132", "valkyrie"),
|
||||||
|
("2133", "magrider"),
|
||||||
("2134", "vanguard"),
|
("2134", "vanguard"),
|
||||||
("2135", "prowler"),
|
("2135", "prowler"),
|
||||||
("2136", "dervish"),
|
("2136", "dervish"),
|
||||||
|
|
Loading…
Add table
Reference in a new issue