thread_split: implement target player icon

This commit is contained in:
evanpelle
2025-02-01 12:05:11 -08:00
committed by Evan
parent 62a0642b4d
commit 05da562bba
4 changed files with 13 additions and 9 deletions
@@ -144,7 +144,7 @@ export class PlayerInfoOverlay extends LitElement implements Layer {
private renderPlayerInfo(player: Player) {
const myPlayer = this.myPlayer();
const isAlly = myPlayer.isAlliedWith(player)
const isAlly = myPlayer?.isAlliedWith(player)
let relationHtml = null;
if (player.type() == PlayerType.FakeHuman && myPlayer != null) {
let classType = '';