Update to Angular 14

This commit is contained in:
2026-03-23 20:46:24 +01:00
parent 1dea5953f6
commit f23e34dd09
33 changed files with 2483 additions and 2977 deletions
+5 -1
View File
@@ -1,3 +1,5 @@
import { isError } from "../common/utils";
export interface Game {
fps: number;
load(): any;
@@ -44,7 +46,9 @@ export function startGameLoop(game: Game, onError = (e: Error) => console.error(
game.draw();
}
} catch (e) {
onError(e);
if (isError(e)) {
onError(e);
}
}
last = now;