mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-02-09 02:10:18 +01:00
Corrections + admin full screen
This commit is contained in:
@@ -33,4 +33,6 @@ export const teamStatus = {
|
||||
ready: { label: "Placée", color: Colors.green },
|
||||
notready: { label: "Non placée", color: Colors.red },
|
||||
waiting: { label: "En attente", color: Colors.grey },
|
||||
victory: { label: "Victoire", color: Colors.green },
|
||||
defeat: { label: "Défaite", color: Colors.red },
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ export function getStatus(team, gamestate) {
|
||||
case GameState.PLAYING:
|
||||
return team.captured ? teamStatus.captured : team.outOfZone ? teamStatus.outofzone : teamStatus.playing;
|
||||
case GameState.FINISHED:
|
||||
return team.captured ? teamStatus.captured : teamStatus.playing;
|
||||
return team.captured ? teamStatus.defeat : teamStatus.victory;
|
||||
default:
|
||||
return teamStatus.default;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user