mirror of
https://git.rezel.net/LudoTech/traque.git
synced 2026-04-11 00:30:19 +02:00
Add out of zone handicap
This commit is contained in:
@@ -9,7 +9,7 @@ export function getStatus(team, gamestate) {
|
||||
case GameState.PLACEMENT:
|
||||
return team.ready ? teamStatus.ready : teamStatus.notready;
|
||||
case GameState.PLAYING:
|
||||
return team.captured ? teamStatus.captured : team.outofzone ? teamStatus.outofzone : teamStatus.playing;
|
||||
return team.captured ? teamStatus.captured : team.outOfZone ? teamStatus.outofzone : teamStatus.playing;
|
||||
case GameState.FINISHED:
|
||||
return team.captured ? teamStatus.captured : teamStatus.playing;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user