diff --git a/src/api/ReturnTypes.tsx b/src/api/ReturnTypes.tsx
index 4a74c29..e9b0ad7 100644
--- a/src/api/ReturnTypes.tsx
+++ b/src/api/ReturnTypes.tsx
@@ -273,7 +273,7 @@ export type ServerLeaderboardList = {
};
export type ServerPlayersReturn = {
- apiUrl: string;
+ apiUrl?: string;
teams: serverTeamList[];
loading: serverPlayer[];
que: serverPlayer[];
@@ -371,14 +371,14 @@ export type serverTeamList = {
};
export type serverPlayer = {
- player_id: number;
- user_id: number;
+ player_id?: number;
+ user_id?: number;
name: string;
- position: number;
+ position?: number;
latency?: number;
- platoon: string;
- join_time: number;
- localization: string;
+ platoon?: string;
+ join_time?: number;
+ localization?: string;
platform?: string;
rank?: number;
diff --git a/src/api/marneApi.tsx b/src/api/marneApi.tsx
index c0c81ca..14a4921 100644
--- a/src/api/marneApi.tsx
+++ b/src/api/marneApi.tsx
@@ -354,7 +354,7 @@ export class ApiProvider extends JsonClient {
settings: result?.settings,
description: result?.description,
rotation:
- result?.rotation == ""
+ result?.rotation === ""
? []
: result?.rotation?.map((current: RotationReturn, index: number) => {
if (current !== null) {
diff --git a/src/components/routes/Servers/Detailed/Main.tsx b/src/components/routes/Servers/Detailed/Main.tsx
index 4f1aafd..5664117 100644
--- a/src/components/routes/Servers/Detailed/Main.tsx
+++ b/src/components/routes/Servers/Detailed/Main.tsx
@@ -31,6 +31,7 @@ import {
Bf3ServerPlayerlist,
BfListServerPlayerList,
ServerPlayerlist,
+ MarnePlayerList,
} from "./Players";
import { ServerLeaderboard } from "./Leaderboard";
import { ServerPlatoon } from "./Platoon";
@@ -426,7 +427,12 @@ export function Results(props: Views): React.ReactElement {
/>
) : (
props.game === "bf1marne" && (
-