Fix chat log init in production build

This commit is contained in:
Terncode committed 2026-11-20 17:52:19 +01:00
1 parent a95f62e236
commit 6c6089709b
1 file changed
+2 -1
@@ -243,7 +243,7 @@ export class ChatLog implements AfterViewInit, OnDestroy, DoCheck {
local: ChatLogMessage[] = [];
party: ChatLogMessage[] = [];
whisper: ChatLogMessage[] = [];
filterColor = this.inactiveBg;
filterColor: string;
unread = 0;
private subscriptions: Subscription[] = [];
private startX = 0;
@@ -263,6 +263,7 @@ export class ChatLog implements AfterViewInit, OnDestroy, DoCheck {
private element: ElementRef,
private zone: NgZone,
) {
this.filterColor = this.inactiveBg;
// TODO: just put reference to chatlog on game ???
this.subscriptions.push(
game.onFrame.subscribe(() => {