mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:50:43 +00:00
Fix crash when HeadsUpMessage renders before game is assigned
This commit is contained in:
@@ -194,7 +194,7 @@ export class HeadsUpMessage extends LitElement implements Controller {
|
||||
</div>
|
||||
`
|
||||
: null}
|
||||
${this.game.inSpawnPhase() &&
|
||||
${this.game?.inSpawnPhase() &&
|
||||
this.game.config().gameConfig().gameMode === GameMode.FFA &&
|
||||
this.game.config().gameConfig().gameType === GameType.Public &&
|
||||
!this.hasClosedCollusionWarning
|
||||
|
||||
Reference in New Issue
Block a user