Skip to content

Commit

Permalink
Fix player count in browser page title
Browse files Browse the repository at this point in the history
  • Loading branch information
cemathey committed May 21, 2024
1 parent b3b707c commit 772f077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rcongui/src/components/Header/serverStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class ServerStatus extends React.Component {
numCurrentPlayers: data.result.current_players,
maxPlayers: data.result.max_players,
});
document.title = `(${data?.result.player_count}) ${data?.result.short_name}`;
document.title = `(${data?.result.current_players}) ${data?.result.short_name}`;
})
.catch(handle_http_errors);
}
Expand Down

0 comments on commit 772f077

Please sign in to comment.