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