Skip to content

Commit

Permalink
prevent the dead from being substituted, dead icon
Browse files Browse the repository at this point in the history
  • Loading branch information
mrosack committed Jan 4, 2024
1 parent 3cf2d71 commit b15cf27
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -49,7 +49,7 @@
"ngx-clipboard": "^16.0.0",
"ngx-markdown": "^16.0.0",
"pako": "^2.1.0",
"pydt-shared": "^1.8.12",
"pydt-shared": "^1.8.13",
"remove-markdown": "^0.5.0",
"rollbar": "^2.26.2",
"rxjs": "^7.8.1",
Expand Down
Expand Up @@ -20,7 +20,7 @@ export class GameDetailAdminMarkSubstitutionComponent implements OnInit {
) {}

get humanPlayers(): GamePlayer[] {
return this.game.players.filter(player => !!player.steamId);
return this.game.players.filter(player => !!player.steamId && !player.isDead);
}

get substitutionRequested() {
Expand Down
1 change: 1 addition & 0 deletions src/public/img/skull-and-crossbones.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b15cf27

Please sign in to comment.