add magriders to websockert

This commit is contained in:
41666 2022-11-24 02:21:32 +00:00
parent 871edfc96f
commit d1ab9ae173
2 changed files with 4 additions and 0 deletions

View file

@ -22,6 +22,7 @@ const vehicles_hashmap = async () => {
"chimera",
"javelin",
"corsair",
"magrider",
];
const matcher = new RegExp(`\\b${relevantVehicles.join("|")}\\b`, "i");

View file

@ -8,6 +8,7 @@ static VEHICLE_TO_NAME: Lazy<HashMap<&str, &str>> = Lazy::new(|| {
("1", "flash"),
("2", "sunderer"),
("3", "lightning"),
("4", "magrider"),
("5", "vanguard"),
("6", "prowler"),
("7", "scythe"),
@ -28,6 +29,7 @@ static VEHICLE_TO_NAME: Lazy<HashMap<&str, &str>> = Lazy::new(|| {
("162", "ant"),
("1001", "flash"),
("1002", "sunderer"),
("1004", "magrider"),
("1005", "vanguard"),
("1007", "scythe"),
("1008", "reaver"),
@ -47,6 +49,7 @@ static VEHICLE_TO_NAME: Lazy<HashMap<&str, &str>> = Lazy::new(|| {
("2130", "sunderer"),
("2131", "galaxy"),
("2132", "valkyrie"),
("2133", "magrider"),
("2134", "vanguard"),
("2135", "prowler"),
("2136", "dervish"),