mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 07:04:25 +00:00
Don't force rerender in doom
This commit is contained in:
parent
2b75948c2e
commit
0feed80b07
1 changed files with 1 additions and 2 deletions
|
|
@ -71,8 +71,7 @@ export class DoomOverlayComponent implements Component {
|
||||||
this.interval = setInterval(() => {
|
this.interval = setInterval(() => {
|
||||||
try {
|
try {
|
||||||
this.engine.tick();
|
this.engine.tick();
|
||||||
// Force full re-render to prevent bleed artifacts at high frame rates
|
this.tui.requestRender();
|
||||||
this.tui.requestRender(true);
|
|
||||||
} catch {
|
} catch {
|
||||||
// WASM error (e.g., exit via DOOM menu) - treat as quit
|
// WASM error (e.g., exit via DOOM menu) - treat as quit
|
||||||
this.dispose();
|
this.dispose();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue