Remove unused filter

This commit is contained in:
Danielv123 committed 2025-08-10 00:28:48 +02:00
1 parent 093b71045b
commit c4d4cb3afd
2 files changed
-4

No files matched your search

-3
View File
@@ -353,20 +353,17 @@ export class GetPlayerPathRequest {
constructor(
public instance_id: number,
public player_name: string,
public surface: string,
) { }
static jsonSchema = Type.Object({
"instance_id": Type.Number(),
"player_name": Type.String(),
"surface": Type.String(),
});
static fromJSON(json: Static<typeof GetPlayerPathRequest.jsonSchema>) {
return new this(
json.instance_id,
json.player_name,
json.surface,
);
}
@@ -584,7 +584,6 @@ export default function CanvasMinimapPage() {
try {
const resp = await control.send(new GetPlayerPathRequest(
selectedInstance,
"*",
selectedSurface,
));
if (!resp.positions) { return null; }