mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-19 09:25:46 +00:00
thread_split: implement target player icon
This commit is contained in:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user