Skip to content

Commit

Permalink
team lead now properly ranked
Browse files Browse the repository at this point in the history
  • Loading branch information
mullenpaul committed Dec 30, 2023
1 parent 948e300 commit 60e8a74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tgui/packages/tgui/interfaces/SquadInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const FireTeam = (props: { ft: string }, context) => {
fireteam?.tl?.name === 'Not assigned' ||
fireteam?.tl?.name === 'Unassigned' ||
fireteam?.tl?.name === undefined);
const rankList = ['Mar', 'ass', 'Med', 'Eng', 'SG', 'Spc', 'RTO', 'SL'];
const rankList = ['Mar', 'ass', 'Med', 'Eng', 'SG', 'Spc', 'TL', 'SL'];
const rankSort = (a: SquadMarineEntry, b: SquadMarineEntry) => {
if (a.rank === 'Mar' && b.rank === 'Mar') {
return a.paygrade === 'PFC' ? -1 : 1;
Expand Down Expand Up @@ -283,7 +283,7 @@ const SquadObjectives = (props, context) => {
};

export const SquadInfo = (_, context) => {
const { config, data } = useBackend<SquadProps>(context);
const { data } = useBackend<SquadProps>(context);
const fireteams = ['FT1', 'FT2', 'FT3', 'Unassigned'];

return (
Expand Down

0 comments on commit 60e8a74

Please sign in to comment.